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.001158/0.001157, allocations: 115.5 kB / 16.42 MB, free: 6.504 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.001164/0.001164, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.297/1.297, allocations: 222.9 MB / 241 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.05874/0.05874, allocations: 12.04 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004978/0.0004978, allocations: 23.95 kB / 356.3 MB, free: 13.99 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.884/1.884, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 108.2 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5019, allocations: 109.1 MB / 1 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004214/0.5062, allocations: 3.724 MB / 1.004 GB, free: 5.219 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.5063, allocations: 157.3 kB / 1.004 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.5064, allocations: 1.219 kB / 1.004 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.895e-05/0.5065, allocations: 11.92 kB / 1.004 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.5065, allocations: 10.42 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.5068, allocations: 79.03 kB / 1.004 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.5069, allocations: 32.73 kB / 1.004 GB, free: 5.008 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.507, allocations: 6.141 kB / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.507, allocations: 13.39 kB / 1.004 GB, free: 5 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.5071, allocations: 17.36 kB / 1.004 GB, free: 4.988 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.5071, allocations: 5.125 kB / 1.004 GB, free: 4.984 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.5076, allocations: 184.3 kB / 1.004 GB, free: 4.883 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.5076, allocations: 10.36 kB / 1.004 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.5076, allocations: 12.42 kB / 1.004 GB, free: 4.867 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.5078, allocations: 43.45 kB / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5078, allocations: 0 / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5078, allocations: 0 / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.5078, allocations: 0 / 1.004 GB, free: 4.852 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.000298/0.5081, allocations: 339.6 kB / 1.005 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5081, allocations: 12.95 kB / 1.005 GB, free: 4.484 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5082, allocations: 2.062 kB / 1.005 GB, free: 4.484 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.695e-05/0.5082, allocations: 161.6 kB / 1.005 GB, free: 4.289 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.5083, allocations: 28.89 kB / 1.005 GB, free: 4.258 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5083, allocations: 5.672 kB / 1.005 GB, free: 4.254 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.5084, allocations: 54.73 kB / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5085, allocations: 0 / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5085, allocations: 5.047 kB / 1.005 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5085, allocations: 5 kB / 1.005 GB, free: 4.195 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.5085, allocations: 13.16 kB / 1.005 GB, free: 4.191 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.5089, allocations: 333.5 kB / 1.005 GB, free: 3.812 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.5089, allocations: 16.7 kB / 1.005 GB, free: 3.789 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.5089, allocations: 13.97 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.509, allocations: 81.58 kB / 1.005 GB, free: 3.68 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.509, allocations: 39.62 kB / 1.005 GB, free: 3.633 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.509, allocations: 0 / 1.005 GB, free: 3.633 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.5092, allocations: 44.19 kB / 1.005 GB, free: 3.59 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/0.5092, allocations: 51.41 kB / 1.005 GB, free: 3.527 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.5092, allocations: 100.6 kB / 1.006 GB, free: 3.426 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.5093, allocations: 25.7 kB / 1.006 GB, free: 3.395 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.5093, allocations: 85.22 kB / 1.006 GB, free: 3.309 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.5093, allocations: 13.16 kB / 1.006 GB, free: 3.297 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.5093, allocations: 17.09 kB / 1.006 GB, free: 3.277 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.453e-05/0.5094, allocations: 316.1 kB / 1.006 GB, free: 2.961 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.5094, allocations: 2.562 kB / 1.006 GB, free: 2.961 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.5094, allocations: 21.3 kB / 1.006 GB, free: 2.938 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.5094, allocations: 23.97 kB / 1.006 GB, free: 2.914 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5094, allocations: 5.5 kB / 1.006 GB, free: 2.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.186e-05/0.5095, allocations: 41.66 kB / 1.006 GB, free: 2.875 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5095, allocations: 6.406 kB / 1.006 GB, free: 2.875 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5095, allocations: 3.938 kB / 1.006 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5096, allocations: 1.406 kB / 1.006 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.5096, allocations: 4.75 kB / 1.006 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5096, allocations: 0 / 1.006 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.5096, allocations: 5.062 kB / 1.006 GB, free: 2.867 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.5096, allocations: 6.203 kB / 1.006 GB, free: 2.863 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.148e-05/0.5097, allocations: 116 kB / 1.006 GB, free: 2.742 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.5097, allocations: 5 kB / 1.006 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.5098, allocations: 112.2 kB / 1.006 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.5098, allocations: 193.3 kB / 1.007 GB, free: 2.426 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.5098, allocations: 102.1 kB / 1.007 GB, free: 2.32 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.5099, allocations: 191 kB / 1.007 GB, free: 2.109 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.5099, allocations: 181.4 kB / 1.007 GB, free: 1.926 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.51, allocations: 116.2 kB / 1.007 GB, free: 1.809 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.5101, allocations: 181.3 kB / 1.007 GB, free: 1.625 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.753e-05/0.5101, allocations: 256.7 kB / 1.007 GB, free: 1.367 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.416e-05/0.5102, allocations: 383.4 kB / 1.008 GB, free: 0.9727 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.636e-05/0.5102, allocations: 106 kB / 1.008 GB, free: 0.8633 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.5102, allocations: 84.59 kB / 1.008 GB, free: 0.7852 MB / 0.6857 GB Notification: Performance of Backend: time 2.81e-07/0.5103, allocations: 0 / 1.008 GB, free: 0.7852 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.5107, allocations: 115 kB / 1.008 GB, free: 0.7031 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003521/0.511, allocations: 0.8543 MB / 1.009 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of Templates: time 0.00242/0.5135, allocations: 0.5549 MB / 1.01 GB, free: 15.52 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)