Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.0009965/0.0009965, allocations: 189.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.457/1.457, allocations: 222.9 MB / 241.1 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.05794/0.05794, allocations: 12.03 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.0005063/0.0005063, allocations: 27.97 kB / 356.3 MB, free: 13.99 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.496/1.496, allocations: 268.3 MB / 0.6618 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 111.8 kB / 0.888 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4769, allocations: 108.4 MB / 0.9938 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004727/0.4817, allocations: 4.008 MB / 0.9977 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.4819, allocations: 155.5 kB / 0.9979 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.4819, allocations: 0 / 0.9979 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.735e-05/0.482, allocations: 4 kB / 0.9979 GB, free: 12.93 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.4821, allocations: 11.92 kB / 0.9979 GB, free: 12.92 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.4824, allocations: 82.44 kB / 0.998 GB, free: 12.84 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.4825, allocations: 39.84 kB / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.4825, allocations: 4 kB / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.4826, allocations: 15.92 kB / 0.998 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.4826, allocations: 19.97 kB / 0.9981 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4826, allocations: 0 / 0.9981 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.4828, allocations: 47.83 kB / 0.9981 GB, free: 12.72 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.4829, allocations: 19.91 kB / 0.9981 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.4829, allocations: 4 kB / 0.9981 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.483, allocations: 51.69 kB / 0.9982 GB, free: 12.65 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4831, allocations: 0 / 0.9982 GB, free: 12.65 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4831, allocations: 0 / 0.9982 GB, free: 12.65 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.4831, allocations: 0 / 0.9982 GB, free: 12.65 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.0003633/0.4834, allocations: 341 kB / 0.9985 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4835, allocations: 12.03 kB / 0.9985 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4835, allocations: 0.9375 kB / 0.9985 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4836, allocations: 163.3 kB / 0.9987 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.4837, allocations: 30.27 kB / 0.9987 GB, free: 12.03 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4837, allocations: 4.312 kB / 0.9987 GB, free: 12.02 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.4838, allocations: 49.61 kB / 0.9987 GB, free: 11.97 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4839, allocations: 12 kB / 0.9988 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4839, allocations: 0 / 0.9988 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4839, allocations: 0 / 0.9988 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.4839, allocations: 11.98 kB / 0.9988 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.4844, allocations: 334 kB / 0.9991 GB, free: 11.55 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.4844, allocations: 26.52 kB / 0.9991 GB, free: 11.52 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.4844, allocations: 8.859 kB / 0.9991 GB, free: 11.5 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.4845, allocations: 85.17 kB / 0.9992 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4845, allocations: 30.56 kB / 0.9992 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4846, allocations: 4 kB / 0.9992 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.4847, allocations: 33.69 kB / 0.9993 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.4847, allocations: 51.41 kB / 0.9993 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.4848, allocations: 113.7 kB / 0.9994 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4848, allocations: 25.83 kB / 0.9994 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.4849, allocations: 92.05 kB / 0.9995 GB, free: 11.01 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.4849, allocations: 7.844 kB / 0.9995 GB, free: 11 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.4849, allocations: 13.72 kB / 0.9996 GB, free: 10.98 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.485, allocations: 318.8 kB / 0.9999 GB, free: 10.66 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.485, allocations: 7.984 kB / 0.9999 GB, free: 10.66 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.4851, allocations: 13.91 kB / 0.9999 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.4851, allocations: 25.72 kB / 0.9999 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4851, allocations: 0 / 0.9999 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.429e-05/0.4852, allocations: 49.62 kB / 1 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4852, allocations: 4 kB / 1 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4852, allocations: 4.094 kB / 1 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4852, allocations: 3.984 kB / 1 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.4853, allocations: 7.984 kB / 1 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4853, allocations: 0 / 1 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.4853, allocations: 12 kB / 1 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.4853, allocations: 0 / 1 GB, free: 10.52 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 6.438e-05/0.4854, allocations: 109.8 kB / 1 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.4854, allocations: 7.938 kB / 1 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.226e-05/0.4855, allocations: 124.9 kB / 1 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.101e-05/0.4856, allocations: 176.3 kB / 1 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/0.4856, allocations: 108.9 kB / 1 GB, free: 9.973 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.4857, allocations: 178.1 kB / 1.001 GB, free: 9.773 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.4858, allocations: 188.2 kB / 1.001 GB, free: 9.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4859, allocations: 104.9 kB / 1.001 GB, free: 9.473 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.486, allocations: 184.3 kB / 1.001 GB, free: 9.285 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.485e-05/0.4861, allocations: 263.5 kB / 1.001 GB, free: 9.016 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001402/0.4862, allocations: 383 kB / 1.002 GB, free: 8.617 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.417e-05/0.4863, allocations: 105 kB / 1.002 GB, free: 8.508 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.4863, allocations: 83.27 kB / 1.002 GB, free: 8.426 MB / 0.6857 GB Notification: Performance of Backend: time 3.21e-07/0.4863, allocations: 0 / 1.002 GB, free: 8.426 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.4867, allocations: 114.3 kB / 1.002 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004977/0.4872, allocations: 0.8634 MB / 1.003 GB, free: 7.398 MB / 0.6857 GB Notification: Performance of Templates: time 0.002529/0.4898, allocations: 0.5391 MB / 1.003 GB, free: 6.867 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)