Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001723/0.001723, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.364/1.364, 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.05794/0.05794, allocations: 12.04 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005556/0.0005556, allocations: 39.92 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.6/1.6, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 111.8 kB / 0.888 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5072, allocations: 108.4 MB / 0.9938 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1388/0.646, allocations: 135.4 MB / 1.126 GB, free: 14.54 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.6463, allocations: 59.86 kB / 1.126 GB, free: 14.48 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.6463, allocations: 0 / 1.126 GB, free: 14.48 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.6465, allocations: 3.938 kB / 1.126 GB, free: 14.47 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.6466, allocations: 11.91 kB / 1.126 GB, free: 14.46 MB / 0.8107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.6474, allocations: 254.5 kB / 1.126 GB, free: 14.21 MB / 0.8107 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.6475, allocations: 35.84 kB / 1.126 GB, free: 14.18 MB / 0.8107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.6476, allocations: 7.984 kB / 1.126 GB, free: 14.17 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.6476, allocations: 16 kB / 1.126 GB, free: 14.16 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.6477, allocations: 11.97 kB / 1.126 GB, free: 14.14 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.6477, allocations: 0 / 1.126 GB, free: 14.14 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.6482, allocations: 251.3 kB / 1.127 GB, free: 13.9 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.6483, allocations: 4 kB / 1.127 GB, free: 13.89 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.6483, allocations: 7.984 kB / 1.127 GB, free: 13.89 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.6487, allocations: 191.5 kB / 1.127 GB, free: 13.7 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6487, allocations: 0 / 1.127 GB, free: 13.7 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6487, allocations: 0 / 1.127 GB, free: 13.7 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.6488, allocations: 0 / 1.127 GB, free: 13.7 MB / 0.8107 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.0004401/0.6492, allocations: 370.4 kB / 1.127 GB, free: 13.3 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6493, allocations: 8.031 kB / 1.127 GB, free: 13.29 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.6493, allocations: 12.84 kB / 1.127 GB, free: 13.28 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.6494, allocations: 164.4 kB / 1.127 GB, free: 13.08 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.6495, allocations: 26.27 kB / 1.127 GB, free: 13.05 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.6495, allocations: 7.938 kB / 1.127 GB, free: 13.04 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.6497, allocations: 37.69 kB / 1.127 GB, free: 13 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6497, allocations: 0 / 1.127 GB, free: 13 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.6497, allocations: 4 kB / 1.127 GB, free: 12.99 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.6497, allocations: 11.94 kB / 1.127 GB, free: 12.98 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.6498, allocations: 11.98 kB / 1.127 GB, free: 12.97 MB / 0.8107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.6505, allocations: 0.595 MB / 1.128 GB, free: 12.25 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.6506, allocations: 22.58 kB / 1.128 GB, free: 12.22 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.6506, allocations: 12.84 kB / 1.128 GB, free: 12.2 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.6508, allocations: 328.5 kB / 1.128 GB, free: 11.81 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6509, allocations: 42.48 kB / 1.128 GB, free: 11.76 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.6509, allocations: 0 / 1.128 GB, free: 11.76 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.651, allocations: 29.7 kB / 1.128 GB, free: 11.72 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6511, allocations: 55.41 kB / 1.129 GB, free: 11.66 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.6512, allocations: 105.8 kB / 1.129 GB, free: 11.54 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.6512, allocations: 25.7 kB / 1.129 GB, free: 11.51 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6512, allocations: 92.17 kB / 1.129 GB, free: 11.42 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.6513, allocations: 11.84 kB / 1.129 GB, free: 11.41 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.6513, allocations: 13.72 kB / 1.129 GB, free: 11.39 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.6514, allocations: 322.8 kB / 1.129 GB, free: 11.06 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.6514, allocations: 0 / 1.129 GB, free: 11.06 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.6514, allocations: 13.72 kB / 1.129 GB, free: 11.04 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.6515, allocations: 29.66 kB / 1.129 GB, free: 11.01 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6515, allocations: 3.984 kB / 1.129 GB, free: 11 MB / 0.8107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.483e-05/0.6516, allocations: 45.64 kB / 1.129 GB, free: 10.95 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6516, allocations: 8 kB / 1.129 GB, free: 10.95 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6516, allocations: 0 / 1.129 GB, free: 10.95 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6516, allocations: 0 / 1.129 GB, free: 10.95 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.6517, allocations: 7.984 kB / 1.129 GB, free: 10.94 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6517, allocations: 0 / 1.129 GB, free: 10.94 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.6517, allocations: 4.062 kB / 1.129 GB, free: 10.93 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.6517, allocations: 4 kB / 1.129 GB, free: 10.93 MB / 0.8107 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.622e-05/0.6518, allocations: 113.8 kB / 1.129 GB, free: 10.81 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.6518, allocations: 0 / 1.129 GB, free: 10.81 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.652, allocations: 128.8 kB / 1.129 GB, free: 10.68 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/0.652, allocations: 176.3 kB / 1.13 GB, free: 10.5 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.6521, allocations: 101 kB / 1.13 GB, free: 10.39 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.6521, allocations: 193.9 kB / 1.13 GB, free: 10.18 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.6522, allocations: 184.2 kB / 1.13 GB, free: 9.988 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.6524, allocations: 116.9 kB / 1.13 GB, free: 9.867 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.6525, allocations: 176.3 kB / 1.13 GB, free: 9.688 MB / 0.8107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.83e-05/0.6525, allocations: 263.5 kB / 1.131 GB, free: 9.422 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001593/0.6527, allocations: 383.1 kB / 1.131 GB, free: 9.023 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.758e-05/0.6528, allocations: 112.9 kB / 1.131 GB, free: 8.906 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.6528, allocations: 87.27 kB / 1.131 GB, free: 8.82 MB / 0.8107 GB Notification: Performance of Backend: time 4.71e-07/0.6528, allocations: 0 / 1.131 GB, free: 8.82 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.6533, allocations: 168.2 kB / 1.131 GB, free: 8.648 MB / 0.8107 GB Notification: Performance of SimCode: time 0.0005211/0.6539, allocations: 0.8631 MB / 1.132 GB, free: 7.738 MB / 0.8107 GB Notification: Performance of Templates: time 0.003571/0.6575, allocations: 1.186 MB / 1.133 GB, free: 6.559 MB / 0.8107 GB make -j1 -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)