Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 117.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.001834/0.001834, allocations: 186.6 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.318/1.318, allocations: 222.9 MB / 241 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.05721/0.05721, allocations: 12.04 MB / 303.2 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.0004908/0.0004908, allocations: 27.94 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.853/1.853, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 107.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5081, allocations: 109.2 MB / 1 GB, free: 8.164 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1537/0.6618, allocations: 148.3 MB / 1.145 GB, free: 11.69 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.662, allocations: 47.84 kB / 1.145 GB, free: 11.64 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.6621, allocations: 4 kB / 1.145 GB, free: 11.64 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.6622, allocations: 3.938 kB / 1.145 GB, free: 11.63 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.6623, allocations: 15.91 kB / 1.145 GB, free: 11.62 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.6633, allocations: 219.2 kB / 1.145 GB, free: 11.4 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.6634, allocations: 27.86 kB / 1.145 GB, free: 11.38 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.6634, allocations: 3.984 kB / 1.145 GB, free: 11.37 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.6635, allocations: 23.92 kB / 1.145 GB, free: 11.35 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.6636, allocations: 11.92 kB / 1.145 GB, free: 11.34 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.6636, allocations: 7.984 kB / 1.145 GB, free: 11.33 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.6641, allocations: 191.4 kB / 1.145 GB, free: 11.14 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.6642, allocations: 11.97 kB / 1.145 GB, free: 11.13 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.6642, allocations: 11.94 kB / 1.145 GB, free: 11.12 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.6645, allocations: 115.6 kB / 1.146 GB, free: 11.01 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6646, allocations: 0 / 1.146 GB, free: 11.01 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6646, allocations: 0 / 1.146 GB, free: 11.01 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6646, allocations: 0 / 1.146 GB, free: 11.01 MB / 0.8263 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.0004914/0.6651, allocations: 346.4 kB / 1.146 GB, free: 10.62 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6651, allocations: 8.031 kB / 1.146 GB, free: 10.62 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.6655, allocations: 28.83 kB / 1.146 GB, free: 10.59 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.6657, allocations: 175.8 kB / 1.146 GB, free: 10.38 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.6658, allocations: 25.7 kB / 1.146 GB, free: 10.35 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.6658, allocations: 0 / 1.146 GB, free: 10.35 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.6659, allocations: 53.67 kB / 1.146 GB, free: 10.29 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.666, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.666, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.666, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.6661, allocations: 23.98 kB / 1.146 GB, free: 10.27 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.6664, allocations: 260.8 kB / 1.146 GB, free: 9.961 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.6665, allocations: 22.58 kB / 1.146 GB, free: 9.93 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.6665, allocations: 8.859 kB / 1.146 GB, free: 9.918 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.6667, allocations: 93.16 kB / 1.147 GB, free: 9.809 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.6668, allocations: 34.56 kB / 1.147 GB, free: 9.766 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.6668, allocations: 0 / 1.147 GB, free: 9.766 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.667, allocations: 61.47 kB / 1.147 GB, free: 9.699 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.6671, allocations: 51.41 kB / 1.147 GB, free: 9.637 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.6671, allocations: 105.8 kB / 1.147 GB, free: 9.523 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6672, allocations: 29.7 kB / 1.147 GB, free: 9.488 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6672, allocations: 84.08 kB / 1.147 GB, free: 9.402 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.6672, allocations: 11.97 kB / 1.147 GB, free: 9.391 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.6673, allocations: 21.7 kB / 1.147 GB, free: 9.363 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6674, allocations: 314.8 kB / 1.147 GB, free: 9.047 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.6674, allocations: 12 kB / 1.147 GB, free: 9.035 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.6675, allocations: 22.56 kB / 1.147 GB, free: 9.004 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.6675, allocations: 38.52 kB / 1.147 GB, free: 8.957 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6675, allocations: 0 / 1.147 GB, free: 8.957 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.543e-05/0.6676, allocations: 57.53 kB / 1.147 GB, free: 8.895 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6677, allocations: 4 kB / 1.147 GB, free: 8.891 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6677, allocations: 0 / 1.147 GB, free: 8.891 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6677, allocations: 4 kB / 1.147 GB, free: 8.887 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.6677, allocations: 11.88 kB / 1.147 GB, free: 8.875 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6678, allocations: 0 / 1.147 GB, free: 8.875 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.6678, allocations: 8.094 kB / 1.147 GB, free: 8.867 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.6678, allocations: 0 / 1.147 GB, free: 8.867 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 7.982e-05/0.6679, allocations: 118.4 kB / 1.148 GB, free: 8.742 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.6679, allocations: 0 / 1.148 GB, free: 8.742 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.668, allocations: 11.06 kB / 1.148 GB, free: 8.73 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.668, allocations: 3.938 kB / 1.148 GB, free: 8.727 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.668, allocations: 0 / 1.148 GB, free: 8.727 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.668, allocations: 81.11 kB / 1.148 GB, free: 8.629 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.668, allocations: 0 / 1.148 GB, free: 8.629 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6681, allocations: 7.984 kB / 1.148 GB, free: 8.621 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.6682, allocations: 4 kB / 1.148 GB, free: 8.617 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.992e-05/0.6683, allocations: 109 kB / 1.148 GB, free: 8.504 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001443/0.6684, allocations: 222.6 kB / 1.148 GB, free: 8.27 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.282e-05/0.6685, allocations: 0 / 1.148 GB, free: 8.27 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.6685, allocations: 87.33 kB / 1.148 GB, free: 8.184 MB / 0.8263 GB Notification: Performance of Backend: time 5.91e-07/0.6685, allocations: 0 / 1.148 GB, free: 8.184 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.669, allocations: 126.3 kB / 1.148 GB, free: 8.055 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0005378/0.6696, allocations: 0.5546 MB / 1.149 GB, free: 7.453 MB / 0.8263 GB Notification: Performance of Templates: time 0.003737/0.6733, allocations: 1.04 MB / 1.15 GB, free: 6.422 MB / 0.8263 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)