Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") translateModel(AixLib.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 114.5 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 187.8 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05762/0.05762, allocations: 12.05 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005038/0.0005039, allocations: 31.94 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.53/1.53, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 108.3 kB / 0.888 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5231, allocations: 108.4 MB / 0.9938 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothHeaviside): time 0.002655/0.5258, allocations: 1.434 MB / 0.9952 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.5266, allocations: 463.8 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.5267, allocations: 0 / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.5267, allocations: 3.938 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.5268, allocations: 11.94 kB / 0.9957 GB, free: 15.19 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.527, allocations: 19.98 kB / 0.9957 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.5271, allocations: 27.92 kB / 0.9957 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.5272, allocations: 7.984 kB / 0.9958 GB, free: 15.13 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.5273, allocations: 11.94 kB / 0.9958 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.5273, allocations: 15.91 kB / 0.9958 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.5273, allocations: 4 kB / 0.9958 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.5274, allocations: 15.98 kB / 0.9958 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.5274, allocations: 8 kB / 0.9958 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.5274, allocations: 3.938 kB / 0.9958 GB, free: 15.07 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.5275, allocations: 39.88 kB / 0.9959 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5276, allocations: 4 kB / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5276, allocations: 0 / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5276, allocations: 0 / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004364/0.528, allocations: 348.8 kB / 0.9962 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5281, allocations: 12.03 kB / 0.9962 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.5281, allocations: 0.9375 kB / 0.9962 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5282, allocations: 168.2 kB / 0.9964 GB, free: 14.43 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5282, allocations: 12.36 kB / 0.9964 GB, free: 14.42 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.5283, allocations: 384 / 0.9964 GB, free: 14.42 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5284, allocations: 57.98 kB / 0.9964 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5285, allocations: 0 / 0.9964 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.5285, allocations: 0 / 0.9964 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.5285, allocations: 7.922 kB / 0.9964 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.5286, allocations: 35.97 kB / 0.9965 GB, free: 14.32 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.529, allocations: 259.7 kB / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.5291, allocations: 38.56 kB / 0.9968 GB, free: 13.97 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.5292, allocations: 24.91 kB / 0.9968 GB, free: 13.94 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.5293, allocations: 81.09 kB / 0.9969 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5293, allocations: 34.56 kB / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5293, allocations: 0 / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003646/0.5297, allocations: 89.58 kB / 0.997 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5298, allocations: 51.41 kB / 0.997 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.5298, allocations: 93.86 kB / 0.9971 GB, free: 13.54 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5299, allocations: 29.7 kB / 0.9971 GB, free: 13.51 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.5299, allocations: 88.12 kB / 0.9972 GB, free: 13.42 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.5299, allocations: 3.906 kB / 0.9972 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.53, allocations: 21.84 kB / 0.9972 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5301, allocations: 310.8 kB / 0.9975 GB, free: 13.07 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.5302, allocations: 11.98 kB / 0.9976 GB, free: 13.06 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.5303, allocations: 23.97 kB / 0.9976 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.5304, allocations: 32.89 kB / 0.9976 GB, free: 13 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5304, allocations: 7.938 kB / 0.9976 GB, free: 13 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.5306, allocations: 73.5 kB / 0.9977 GB, free: 12.92 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5307, allocations: 8 kB / 0.9977 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5307, allocations: 0 / 0.9977 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5307, allocations: 0 / 0.9977 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.5308, allocations: 11.98 kB / 0.9977 GB, free: 12.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5308, allocations: 0 / 0.9977 GB, free: 12.9 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.5308, allocations: 8.031 kB / 0.9977 GB, free: 12.89 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.5308, allocations: 4 kB / 0.9977 GB, free: 12.89 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/0.5309, allocations: 113.8 kB / 0.9978 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.531, allocations: 0 / 0.9978 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.5312, allocations: 72.78 kB / 0.9979 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5312, allocations: 3.938 kB / 0.9979 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.5312, allocations: 0 / 0.9979 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.5313, allocations: 81.14 kB / 0.998 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5313, allocations: 4 kB / 0.998 GB, free: 12.58 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.5314, allocations: 7.922 kB / 0.998 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.5314, allocations: 8.188 kB / 0.998 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002454/0.5316, allocations: 148.9 kB / 0.9981 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002616/0.5319, allocations: 242.7 kB / 0.9984 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001079/0.532, allocations: 23.98 kB / 0.9984 GB, free: 12.14 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.5321, allocations: 83.28 kB / 0.9985 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of Backend: time 3.3e-07/0.5321, allocations: 0 / 0.9985 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.5325, allocations: 102.4 kB / 0.9986 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of SimCode: time 0.000467/0.533, allocations: 0.5493 MB / 0.9991 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of Templates: time 0.002956/0.536, allocations: 0.6736 MB / 0.9998 GB, free: 10.69 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)