Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy") translateModel(AixLib.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001026, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001062/0.001062, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.06003/0.06003, allocations: 12.04 MB / 303.3 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005142/0.0005142, allocations: 23.95 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.976/1.976, allocations: 272.3 MB / 0.6657 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 111.8 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5774, allocations: 109.1 MB / 1 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.SpecificEntropy): time 0.1788/0.7563, allocations: 163.2 MB / 1.16 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.7623, allocations: 4.585 MB / 1.164 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.7628, allocations: 7.938 kB / 1.164 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.7633, allocations: 123.1 kB / 1.164 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.765, allocations: 0.5406 MB / 1.165 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.7669, allocations: 0.7666 MB / 1.165 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.7677, allocations: 0.5806 MB / 1.166 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.7681, allocations: 213.2 kB / 1.166 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.7692, allocations: 470.2 kB / 1.167 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.7698, allocations: 294 kB / 1.167 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.7699, allocations: 16 kB / 1.167 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.7717, allocations: 1.005 MB / 1.168 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.7719, allocations: 91.77 kB / 1.168 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.7721, allocations: 127.3 kB / 1.168 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.7736, allocations: 0.7169 MB / 1.169 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7736, allocations: 4 kB / 1.169 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7736, allocations: 0 / 1.169 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.7736, allocations: 0 / 1.169 GB, free: 3.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001192/0.7748, allocations: 0.5919 MB / 1.169 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7749, allocations: 8.031 kB / 1.169 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.7756, allocations: 79.5 kB / 1.169 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.7761, allocations: 299.3 kB / 1.17 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.7762, allocations: 16 kB / 1.17 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.7762, allocations: 20 kB / 1.17 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.7768, allocations: 288.8 kB / 1.17 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.7768, allocations: 3.938 kB / 1.17 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.7768, allocations: 11.94 kB / 1.17 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7768, allocations: 8 kB / 1.17 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.7773, allocations: 203.5 kB / 1.17 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.779, allocations: 1.234 MB / 1.172 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.7793, allocations: 177 kB / 1.172 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.7796, allocations: 108.2 kB / 1.172 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/0.7804, allocations: 335.2 kB / 1.172 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.7804, allocations: 38.67 kB / 1.172 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.7804, allocations: 3.938 kB / 1.172 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008012/0.7813, allocations: 281.1 kB / 1.172 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.7813, allocations: 158.2 kB / 1.173 GB, free: 15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.7816, allocations: 290.9 kB / 1.173 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.7817, allocations: 26.2 kB / 1.173 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7818, allocations: 155.8 kB / 1.173 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.7819, allocations: 51.28 kB / 1.173 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.782, allocations: 37.72 kB / 1.173 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7821, allocations: 338.8 kB / 1.173 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.7823, allocations: 67.94 kB / 1.173 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.7825, allocations: 144.5 kB / 1.174 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.7829, allocations: 211.5 kB / 1.174 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7829, allocations: 0 / 1.174 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005262/0.7835, allocations: 249.1 kB / 1.174 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7835, allocations: 4 kB / 1.174 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7835, allocations: 4 kB / 1.174 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7835, allocations: 4.375 kB / 1.174 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.7837, allocations: 35.97 kB / 1.174 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.7837, allocations: 7.938 kB / 1.174 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.7839, allocations: 31.92 kB / 1.174 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.784, allocations: 19.94 kB / 1.174 GB, free: 13.26 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001345/0.7841, allocations: 142.4 kB / 1.174 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.7843, allocations: 23.72 kB / 1.174 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.7848, allocations: 189.8 kB / 1.175 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7848, allocations: 4 kB / 1.175 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7848, allocations: 0 / 1.175 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7849, allocations: 116.7 kB / 1.175 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.785, allocations: 3.906 kB / 1.175 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.7852, allocations: 8 kB / 1.175 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.7853, allocations: 15.98 kB / 1.175 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005476/0.7858, allocations: 0.5253 MB / 1.175 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006592/0.7865, allocations: 0.6791 MB / 1.176 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001394/0.7867, allocations: 63.95 kB / 1.176 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002174/0.7869, allocations: 229.9 kB / 1.176 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of Backend: time 7.82e-07/0.7869, allocations: 3.938 kB / 1.176 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.7886, allocations: 399.5 kB / 1.176 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of SimCode: time 0.00145/0.7901, allocations: 1.024 MB / 1.177 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.01416/0.8042, allocations: 7.975 MB / 1.185 GB, free: 1.84 MB / 0.8575 GB make -j1 -f AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.sim & ./AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)