Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 106.7 kB / 16.41 MB, free: 6.457 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.001768/0.001768, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 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.05951/0.05951, allocations: 12.04 MB / 303.2 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005816/0.0005815, allocations: 31.94 kB / 356.3 MB, free: 13.96 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.933/1.933, allocations: 272.3 MB / 0.6657 GB, free: 18.39 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 107.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5657, allocations: 109.2 MB / 1 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00419/0.5699, allocations: 3.716 MB / 1.004 GB, free: 5.203 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.5701, allocations: 166.3 kB / 1.004 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.5701, allocations: 0 / 1.004 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.5702, allocations: 0 / 1.004 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.5703, allocations: 23.34 kB / 1.004 GB, free: 5.051 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.5706, allocations: 78.88 kB / 1.004 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.5707, allocations: 29.33 kB / 1.004 GB, free: 4.984 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.5707, allocations: 5.016 kB / 1.004 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.5708, allocations: 17.55 kB / 1.004 GB, free: 4.973 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.5708, allocations: 14.41 kB / 1.004 GB, free: 4.965 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.5708, allocations: 5.062 kB / 1.004 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.5713, allocations: 188.1 kB / 1.004 GB, free: 4.855 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.5714, allocations: 2.25 kB / 1.004 GB, free: 4.855 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.5714, allocations: 20.34 kB / 1.004 GB, free: 4.84 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.5715, allocations: 31.19 kB / 1.004 GB, free: 4.836 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5715, allocations: 4 kB / 1.004 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5715, allocations: 0 / 1.004 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.5715, allocations: 1.031 kB / 1.004 GB, free: 4.832 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.0003105/0.5719, allocations: 338.7 kB / 1.005 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5719, allocations: 8.906 kB / 1.005 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.5719, allocations: 3.125 kB / 1.005 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.572, allocations: 165.6 kB / 1.005 GB, free: 4.27 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.5721, allocations: 31.16 kB / 1.005 GB, free: 4.234 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5721, allocations: 9.328 kB / 1.005 GB, free: 4.227 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5722, allocations: 52.02 kB / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5722, allocations: 0 / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5722, allocations: 0 / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5723, allocations: 6.281 kB / 1.005 GB, free: 4.176 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.5723, allocations: 16.77 kB / 1.005 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.5726, allocations: 333.4 kB / 1.005 GB, free: 3.789 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.791e-05/0.5727, allocations: 20.7 kB / 1.005 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.5727, allocations: 5.953 kB / 1.005 GB, free: 3.754 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.5728, allocations: 85.62 kB / 1.005 GB, free: 3.656 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.5728, allocations: 39.66 kB / 1.005 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5728, allocations: 1.125 kB / 1.005 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.5729, allocations: 35.3 kB / 1.005 GB, free: 3.574 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.573, allocations: 51.41 kB / 1.005 GB, free: 3.512 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.573, allocations: 104.2 kB / 1.006 GB, free: 3.406 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.573, allocations: 26.83 kB / 1.006 GB, free: 3.375 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.5731, allocations: 85.33 kB / 1.006 GB, free: 3.289 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.5731, allocations: 11.91 kB / 1.006 GB, free: 3.277 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.5731, allocations: 21.84 kB / 1.006 GB, free: 3.254 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.5731, allocations: 319.9 kB / 1.006 GB, free: 2.934 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.5732, allocations: 2.844 kB / 1.006 GB, free: 2.934 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.5732, allocations: 17.44 kB / 1.006 GB, free: 2.914 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.5732, allocations: 20.48 kB / 1.006 GB, free: 2.895 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5732, allocations: 4 kB / 1.006 GB, free: 2.891 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.254e-05/0.5733, allocations: 46.17 kB / 1.006 GB, free: 2.852 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5733, allocations: 5.406 kB / 1.006 GB, free: 2.852 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5733, allocations: 5.141 kB / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5733, allocations: 0 / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/0.5734, allocations: 5.344 kB / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5734, allocations: 1.094 kB / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.5734, allocations: 1.156 kB / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5734, allocations: 1.094 kB / 1.006 GB, free: 2.848 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.084e-05/0.5735, allocations: 120.1 kB / 1.006 GB, free: 2.723 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.5735, allocations: 5 kB / 1.006 GB, free: 2.719 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.5736, allocations: 120.2 kB / 1.006 GB, free: 2.594 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.5736, allocations: 181.4 kB / 1.006 GB, free: 2.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5736, allocations: 114 kB / 1.007 GB, free: 2.293 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.5737, allocations: 191.1 kB / 1.007 GB, free: 2.082 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.5737, allocations: 186.3 kB / 1.007 GB, free: 1.895 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5738, allocations: 107 kB / 1.007 GB, free: 1.785 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.5739, allocations: 181.3 kB / 1.007 GB, free: 1.602 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.106e-05/0.5739, allocations: 256.6 kB / 1.007 GB, free: 1.344 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.787e-05/0.574, allocations: 384.3 kB / 1.008 GB, free: 0.9492 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.845e-05/0.574, allocations: 102.2 kB / 1.008 GB, free: 0.8438 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.574, allocations: 88.67 kB / 1.008 GB, free: 0.7617 MB / 0.6857 GB Notification: Performance of Backend: time 4.41e-07/0.574, allocations: 0 / 1.008 GB, free: 0.7617 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.5745, allocations: 116.9 kB / 1.008 GB, free: 0.6797 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003777/0.5748, allocations: 0.8545 MB / 1.009 GB, free: 15.8 MB / 0.7013 GB Notification: Performance of Templates: time 0.002565/0.5774, allocations: 0.5527 MB / 1.01 GB, free: 15.51 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)