Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001231/0.001231, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05907/0.05907, allocations: 12.04 MB / 303.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005149/0.0005149, allocations: 31.94 kB / 356.3 MB, free: 13.96 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.52/1.52, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003751/0.003751, allocations: 103.8 kB / 0.888 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.542, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003689/0.5457, allocations: 3.282 MB / 0.997 GB, free: 9.281 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 7.535e-05/0.5458, allocations: 58.69 kB / 0.9971 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.5458, allocations: 0 / 0.9971 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.5459, allocations: 5.281 kB / 0.9971 GB, free: 9.23 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.546, allocations: 18.12 kB / 0.9971 GB, free: 9.215 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.5465, allocations: 186.5 kB / 0.9973 GB, free: 9.086 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.5465, allocations: 37.62 kB / 0.9973 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.5466, allocations: 5.078 kB / 0.9973 GB, free: 9.062 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.5466, allocations: 9.75 kB / 0.9973 GB, free: 9.062 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.5467, allocations: 18.22 kB / 0.9974 GB, free: 9.051 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.5467, allocations: 1.438 kB / 0.9974 GB, free: 9.051 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.547, allocations: 170.7 kB / 0.9975 GB, free: 8.949 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.5471, allocations: 6.312 kB / 0.9975 GB, free: 8.945 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.5471, allocations: 8.547 kB / 0.9975 GB, free: 8.941 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.5474, allocations: 141.2 kB / 0.9977 GB, free: 8.871 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5474, allocations: 1.094 kB / 0.9977 GB, free: 8.871 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5474, allocations: 0 / 0.9977 GB, free: 8.871 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5474, allocations: 0 / 0.9977 GB, free: 8.871 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.0003216/0.5477, allocations: 347 kB / 0.998 GB, free: 8.504 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5478, allocations: 9.719 kB / 0.998 GB, free: 8.504 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.5478, allocations: 9.938 kB / 0.998 GB, free: 8.496 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.619e-05/0.5479, allocations: 165.4 kB / 0.9982 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.5479, allocations: 27.42 kB / 0.9982 GB, free: 8.266 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.548, allocations: 6.531 kB / 0.9982 GB, free: 8.262 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.5481, allocations: 43.16 kB / 0.9983 GB, free: 8.223 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5481, allocations: 7.875 kB / 0.9983 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5481, allocations: 1.031 kB / 0.9983 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5481, allocations: 1.094 kB / 0.9983 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.5482, allocations: 17.58 kB / 0.9983 GB, free: 8.207 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.5486, allocations: 0.5806 MB / 0.9989 GB, free: 7.531 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.5487, allocations: 20.98 kB / 0.9989 GB, free: 7.504 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.5487, allocations: 10.17 kB / 0.9989 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.5488, allocations: 344.8 kB / 0.9992 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.5489, allocations: 39.47 kB / 0.9992 GB, free: 7.051 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.5489, allocations: 1.094 kB / 0.9993 GB, free: 7.051 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.549, allocations: 31.89 kB / 0.9993 GB, free: 7.02 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.259e-05/0.549, allocations: 55.53 kB / 0.9993 GB, free: 6.953 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.5491, allocations: 107.8 kB / 0.9994 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5491, allocations: 26.77 kB / 0.9995 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.5491, allocations: 85.14 kB / 0.9995 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.5491, allocations: 3.906 kB / 0.9995 GB, free: 6.723 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.5492, allocations: 21.45 kB / 0.9996 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.5492, allocations: 315.9 kB / 0.9999 GB, free: 6.383 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.5492, allocations: 2.656 kB / 0.9999 GB, free: 6.383 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.5493, allocations: 25.53 kB / 0.9999 GB, free: 6.355 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.5493, allocations: 19.83 kB / 0.9999 GB, free: 6.336 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5493, allocations: 0.75 kB / 0.9999 GB, free: 6.336 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.64e-05/0.5494, allocations: 46.36 kB / 1 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5494, allocations: 9.766 kB / 1 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5494, allocations: 1.312 kB / 1 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5494, allocations: 4.344 kB / 1 GB, free: 6.289 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.5495, allocations: 5.094 kB / 1 GB, free: 6.289 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5495, allocations: 5.422 kB / 1 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.5495, allocations: 0 / 1 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.5495, allocations: 2.5 kB / 1 GB, free: 6.285 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.4e-05/0.5495, allocations: 119.9 kB / 1 GB, free: 6.16 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.5496, allocations: 6.766 kB / 1 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.5497, allocations: 123.2 kB / 1 GB, free: 6.027 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.5497, allocations: 177.4 kB / 1 GB, free: 5.848 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.5497, allocations: 110.4 kB / 1 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.5497, allocations: 190 kB / 1.001 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.5498, allocations: 178.7 kB / 1.001 GB, free: 5.344 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.5499, allocations: 115.4 kB / 1.001 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.5499, allocations: 185.2 kB / 1.001 GB, free: 5.039 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.835e-05/0.55, allocations: 256.6 kB / 1.001 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.323e-05/0.5501, allocations: 379.7 kB / 1.002 GB, free: 4.391 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.888e-05/0.5501, allocations: 110.4 kB / 1.002 GB, free: 4.277 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.5501, allocations: 88.28 kB / 1.002 GB, free: 4.195 MB / 0.6857 GB Notification: Performance of Backend: time 3.71e-07/0.5501, allocations: 0 / 1.002 GB, free: 4.195 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.5506, allocations: 144.8 kB / 1.002 GB, free: 4.098 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003338/0.5509, allocations: 0.8635 MB / 1.003 GB, free: 3.207 MB / 0.6857 GB Notification: Performance of Templates: time 0.003101/0.554, allocations: 1.119 MB / 1.004 GB, free: 2.641 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)