Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001105/0.001106, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001134/0.001134, allocations: 185.5 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 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.05891/0.05891, allocations: 12.04 MB / 303.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005404/0.0005404, allocations: 31.94 kB / 356.3 MB, free: 13.98 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.564/1.564, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 111.8 kB / 0.888 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4896, allocations: 108.4 MB / 0.9938 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004149/0.4937, allocations: 3.71 MB / 0.9974 GB, free: 8.93 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.4939, allocations: 162.6 kB / 0.9976 GB, free: 8.801 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.4939, allocations: 0 / 0.9976 GB, free: 8.801 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.494, allocations: 3.984 kB / 0.9976 GB, free: 8.797 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.4941, allocations: 14.92 kB / 0.9976 GB, free: 8.785 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.4944, allocations: 87.28 kB / 0.9977 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.4945, allocations: 32.28 kB / 0.9977 GB, free: 8.711 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.4945, allocations: 5.516 kB / 0.9977 GB, free: 8.707 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.4946, allocations: 14.09 kB / 0.9977 GB, free: 8.703 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.4946, allocations: 21.38 kB / 0.9978 GB, free: 8.688 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4947, allocations: 1.281 kB / 0.9978 GB, free: 8.688 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.4951, allocations: 179.6 kB / 0.9979 GB, free: 8.59 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.4952, allocations: 11.94 kB / 0.9979 GB, free: 8.582 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.4952, allocations: 15.66 kB / 0.998 GB, free: 8.57 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.4953, allocations: 46.47 kB / 0.998 GB, free: 8.551 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4953, allocations: 0 / 0.998 GB, free: 8.551 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4953, allocations: 1.062 kB / 0.998 GB, free: 8.551 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.4953, allocations: 0 / 0.998 GB, free: 8.551 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.0002883/0.4956, allocations: 337.5 kB / 0.9983 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4957, allocations: 11.86 kB / 0.9983 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.4957, allocations: 3.188 kB / 0.9983 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.916e-05/0.4958, allocations: 161.7 kB / 0.9985 GB, free: 7.992 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.4958, allocations: 31.2 kB / 0.9985 GB, free: 7.957 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4959, allocations: 1.594 kB / 0.9985 GB, free: 7.957 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.496, allocations: 47.81 kB / 0.9986 GB, free: 7.914 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.496, allocations: 7.922 kB / 0.9986 GB, free: 7.906 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.496, allocations: 5.125 kB / 0.9986 GB, free: 7.902 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.496, allocations: 1.062 kB / 0.9986 GB, free: 7.902 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.4961, allocations: 9.438 kB / 0.9986 GB, free: 7.902 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.4964, allocations: 336.6 kB / 0.9989 GB, free: 7.52 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.064e-05/0.4964, allocations: 20.61 kB / 0.9989 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.4964, allocations: 10 kB / 0.9989 GB, free: 7.48 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-05/0.4965, allocations: 81.83 kB / 0.999 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.4965, allocations: 35.69 kB / 0.9991 GB, free: 7.344 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4965, allocations: 1.219 kB / 0.9991 GB, free: 7.344 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.000118/0.4967, allocations: 39.25 kB / 0.9991 GB, free: 7.305 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.22e-05/0.4967, allocations: 55.44 kB / 0.9991 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.4967, allocations: 100.3 kB / 0.9992 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.4968, allocations: 26.8 kB / 0.9993 GB, free: 7.105 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.4968, allocations: 85.19 kB / 0.9993 GB, free: 7.02 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.4968, allocations: 12.91 kB / 0.9994 GB, free: 7.008 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.4968, allocations: 17.06 kB / 0.9994 GB, free: 6.988 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.4969, allocations: 315.9 kB / 0.9997 GB, free: 6.672 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.4969, allocations: 6.156 kB / 0.9997 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.4969, allocations: 21.39 kB / 0.9997 GB, free: 6.645 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.4969, allocations: 17.09 kB / 0.9997 GB, free: 6.629 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4969, allocations: 0 / 0.9997 GB, free: 6.629 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.362e-05/0.497, allocations: 50.5 kB / 0.9998 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.497, allocations: 5.5 kB / 0.9998 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.497, allocations: 9.172 kB / 0.9998 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4971, allocations: 0 / 0.9998 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.4971, allocations: 4.688 kB / 0.9998 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4971, allocations: 1.125 kB / 0.9998 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.4971, allocations: 1.125 kB / 0.9998 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4971, allocations: 10.23 kB / 0.9998 GB, free: 6.57 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 3.922e-05/0.4972, allocations: 114.9 kB / 0.9999 GB, free: 6.449 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4972, allocations: 6.188 kB / 0.9999 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.4973, allocations: 120.4 kB / 1 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.4973, allocations: 184.3 kB / 1 GB, free: 6.133 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4973, allocations: 110.1 kB / 1 GB, free: 6.02 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.4974, allocations: 183.2 kB / 1 GB, free: 5.816 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4974, allocations: 186.2 kB / 1.001 GB, free: 5.629 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4975, allocations: 111.1 kB / 1.001 GB, free: 5.516 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.4976, allocations: 185.3 kB / 1.001 GB, free: 5.328 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.916e-05/0.4976, allocations: 257.6 kB / 1.001 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.243e-05/0.4977, allocations: 383.1 kB / 1.002 GB, free: 4.676 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.562e-05/0.4977, allocations: 101.9 kB / 1.002 GB, free: 4.57 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.4977, allocations: 88.22 kB / 1.002 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of Backend: time 2.2e-07/0.4978, allocations: 1.094 kB / 1.002 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.4982, allocations: 117.1 kB / 1.002 GB, free: 4.402 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002818/0.4984, allocations: 0.8623 MB / 1.003 GB, free: 3.512 MB / 0.6857 GB Notification: Performance of Templates: time 0.002318/0.5008, allocations: 0.5381 MB / 1.003 GB, free: 3.242 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)