Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 110 kB / 16.42 MB, free: 6.453 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.001116/0.001116, allocations: 185.7 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.334/1.334, 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.05891/0.05891, allocations: 12.04 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004781/0.0004781, allocations: 19.97 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.521/1.521, allocations: 268.3 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 111.8 kB / 0.888 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.497, allocations: 108.4 MB / 0.9938 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1504/0.6475, allocations: 147.8 MB / 1.138 GB, free: 2.055 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.6477, allocations: 51.8 kB / 1.138 GB, free: 2.004 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.6477, allocations: 11.94 kB / 1.138 GB, free: 1.992 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.6478, allocations: 0 / 1.138 GB, free: 1.992 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.6479, allocations: 15.91 kB / 1.138 GB, free: 1.977 MB / 0.8107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.6484, allocations: 103.6 kB / 1.138 GB, free: 1.875 MB / 0.8107 GB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.6485, allocations: 39.84 kB / 1.138 GB, free: 1.836 MB / 0.8107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.6485, allocations: 0 / 1.138 GB, free: 1.836 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.6486, allocations: 11.98 kB / 1.138 GB, free: 1.824 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.6486, allocations: 27.86 kB / 1.138 GB, free: 1.797 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.6487, allocations: 0 / 1.138 GB, free: 1.797 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.6489, allocations: 83.8 kB / 1.139 GB, free: 1.715 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.649, allocations: 7.969 kB / 1.139 GB, free: 1.707 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.649, allocations: 11.94 kB / 1.139 GB, free: 1.695 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.6492, allocations: 71.64 kB / 1.139 GB, free: 1.629 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6492, allocations: 0 / 1.139 GB, free: 1.629 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6492, allocations: 0 / 1.139 GB, free: 1.629 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.6492, allocations: 0 / 1.139 GB, free: 1.629 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003916/0.6496, allocations: 350.4 kB / 1.139 GB, free: 1.242 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6496, allocations: 11.97 kB / 1.139 GB, free: 1.23 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.6499, allocations: 16.92 kB / 1.139 GB, free: 1.215 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.65, allocations: 163.8 kB / 1.139 GB, free: 1.016 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.6501, allocations: 33.69 kB / 1.139 GB, free: 0.9766 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.6501, allocations: 0 / 1.139 GB, free: 0.9766 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.6502, allocations: 49.67 kB / 1.139 GB, free: 0.9219 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6503, allocations: 7.938 kB / 1.139 GB, free: 0.9141 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6503, allocations: 0 / 1.139 GB, free: 0.9141 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.6503, allocations: 7.938 kB / 1.139 GB, free: 0.9062 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.6504, allocations: 15.98 kB / 1.139 GB, free: 0.8906 MB / 0.8107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.6507, allocations: 256.9 kB / 1.14 GB, free: 0.5898 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.6508, allocations: 22.58 kB / 1.14 GB, free: 0.5586 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.6508, allocations: 8.844 kB / 1.14 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.6508, allocations: 4 kB / 1.14 GB, free: 0.543 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6509, allocations: 34.5 kB / 1.14 GB, free: 0.5 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.6509, allocations: 0 / 1.14 GB, free: 0.5 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.651, allocations: 45.59 kB / 1.14 GB, free: 460 kB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.651, allocations: 51.41 kB / 1.14 GB, free: 396 kB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.6511, allocations: 106 kB / 1.14 GB, free: 280 kB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.6512, allocations: 29.7 kB / 1.14 GB, free: 244 kB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.6512, allocations: 91.98 kB / 1.14 GB, free: 148 kB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.6512, allocations: 4 kB / 1.14 GB, free: 144 kB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.6513, allocations: 17.62 kB / 1.14 GB, free: 120 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6514, allocations: 314.8 kB / 1.14 GB, free: 15.8 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.6514, allocations: 7.984 kB / 1.14 GB, free: 15.79 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.6514, allocations: 18.58 kB / 1.14 GB, free: 15.77 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.6515, allocations: 38.5 kB / 1.14 GB, free: 15.72 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6515, allocations: 0 / 1.14 GB, free: 15.72 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.074e-05/0.6516, allocations: 49.64 kB / 1.14 GB, free: 15.66 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6516, allocations: 4 kB / 1.14 GB, free: 15.66 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6516, allocations: 4 kB / 1.14 GB, free: 15.66 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.6516, allocations: 12.02 kB / 1.14 GB, free: 15.64 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.6517, allocations: 8 kB / 1.14 GB, free: 15.64 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.6517, allocations: 8.188 kB / 1.14 GB, free: 15.63 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.6518, allocations: 0 / 1.14 GB, free: 15.63 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6518, allocations: 4 kB / 1.14 GB, free: 15.62 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.471e-05/0.6518, allocations: 109.8 kB / 1.14 GB, free: 15.51 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.6519, allocations: 0 / 1.14 GB, free: 15.51 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.6519, allocations: 7.125 kB / 1.14 GB, free: 15.5 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6519, allocations: 3.938 kB / 1.14 GB, free: 15.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6519, allocations: 11.92 kB / 1.14 GB, free: 15.48 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.652, allocations: 81.02 kB / 1.141 GB, free: 15.39 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.652, allocations: 7.938 kB / 1.141 GB, free: 15.38 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.6521, allocations: 4 kB / 1.141 GB, free: 15.38 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.6522, allocations: 0 / 1.141 GB, free: 15.38 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.265e-05/0.6522, allocations: 109 kB / 1.141 GB, free: 15.26 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000129/0.6524, allocations: 214.8 kB / 1.141 GB, free: 15.04 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.508e-05/0.6524, allocations: 0 / 1.141 GB, free: 15.04 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.6524, allocations: 87.27 kB / 1.141 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of Backend: time 5.21e-07/0.6525, allocations: 0 / 1.141 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.6529, allocations: 108.3 kB / 1.141 GB, free: 14.84 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0004671/0.6533, allocations: 0.57 MB / 1.142 GB, free: 14.22 MB / 0.8263 GB Notification: Performance of Templates: time 0.002759/0.6561, allocations: 0.7164 MB / 1.142 GB, free: 13.54 MB / 0.8263 GB make -j1 -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)