Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001049/0.001049, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001096/0.001096, allocations: 185.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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05515/0.05515, 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.0005217/0.0005217, allocations: 31.94 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.497/1.497, allocations: 268.3 MB / 0.6617 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 111.8 kB / 0.888 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4707, allocations: 108.4 MB / 0.9938 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1535/0.6242, allocations: 148.3 MB / 1.139 GB, free: 12.3 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.6244, allocations: 51.78 kB / 1.139 GB, free: 12.25 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.6245, allocations: 4 kB / 1.139 GB, free: 12.25 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.6246, allocations: 7.938 kB / 1.139 GB, free: 12.24 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.6247, allocations: 15.91 kB / 1.139 GB, free: 12.23 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.6254, allocations: 215.2 kB / 1.139 GB, free: 12.02 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.6255, allocations: 39.84 kB / 1.139 GB, free: 11.98 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.6256, allocations: 3.984 kB / 1.139 GB, free: 11.97 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.6256, allocations: 8 kB / 1.139 GB, free: 11.96 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.6257, allocations: 19.91 kB / 1.139 GB, free: 11.95 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.6257, allocations: 0 / 1.139 GB, free: 11.95 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.6261, allocations: 195.4 kB / 1.139 GB, free: 11.75 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.6262, allocations: 19.97 kB / 1.139 GB, free: 11.73 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.6262, allocations: 7.938 kB / 1.139 GB, free: 11.73 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.6265, allocations: 107.7 kB / 1.139 GB, free: 11.62 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6265, allocations: 0 / 1.139 GB, free: 11.62 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6265, allocations: 0 / 1.139 GB, free: 11.62 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6265, allocations: 4 kB / 1.139 GB, free: 11.62 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.0004193/0.627, allocations: 346.4 kB / 1.14 GB, free: 11.24 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.627, allocations: 8.031 kB / 1.14 GB, free: 11.23 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.6273, allocations: 36.78 kB / 1.14 GB, free: 11.2 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6274, allocations: 163.8 kB / 1.14 GB, free: 11 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.6275, allocations: 33.64 kB / 1.14 GB, free: 10.96 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6275, allocations: 0 / 1.14 GB, free: 10.96 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.6277, allocations: 49.67 kB / 1.14 GB, free: 10.9 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6277, allocations: 0 / 1.14 GB, free: 10.9 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6277, allocations: 4 kB / 1.14 GB, free: 10.9 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.6277, allocations: 3.984 kB / 1.14 GB, free: 10.89 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.6278, allocations: 23.98 kB / 1.14 GB, free: 10.87 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.6281, allocations: 260.8 kB / 1.14 GB, free: 10.57 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.6282, allocations: 22.58 kB / 1.14 GB, free: 10.54 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.6282, allocations: 8.922 kB / 1.14 GB, free: 10.52 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.6284, allocations: 101.1 kB / 1.14 GB, free: 10.41 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.6284, allocations: 30.56 kB / 1.14 GB, free: 10.37 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6284, allocations: 0 / 1.14 GB, free: 10.37 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.6287, allocations: 57.47 kB / 1.14 GB, free: 10.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.6287, allocations: 55.41 kB / 1.14 GB, free: 10.24 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.6288, allocations: 97.84 kB / 1.141 GB, free: 10.13 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6288, allocations: 29.7 kB / 1.141 GB, free: 10.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.6289, allocations: 92.2 kB / 1.141 GB, free: 10 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.6289, allocations: 3.906 kB / 1.141 GB, free: 10 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.629, allocations: 21.7 kB / 1.141 GB, free: 9.973 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6291, allocations: 314.8 kB / 1.141 GB, free: 9.656 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.6291, allocations: 4 kB / 1.141 GB, free: 9.652 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.6291, allocations: 26.56 kB / 1.141 GB, free: 9.617 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.6292, allocations: 34.52 kB / 1.141 GB, free: 9.574 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6292, allocations: 0 / 1.141 GB, free: 9.574 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.385e-05/0.6293, allocations: 57.53 kB / 1.141 GB, free: 9.512 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6293, allocations: 8 kB / 1.141 GB, free: 9.504 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6293, allocations: 0 / 1.141 GB, free: 9.504 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6293, allocations: 0 / 1.141 GB, free: 9.504 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.6294, allocations: 15.94 kB / 1.141 GB, free: 9.488 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.6294, allocations: 4.094 kB / 1.141 GB, free: 9.484 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.6294, allocations: 0 / 1.141 GB, free: 9.484 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.6295, allocations: 4 kB / 1.141 GB, free: 9.48 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.737e-05/0.6295, allocations: 113.8 kB / 1.141 GB, free: 9.359 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.6296, allocations: 4 kB / 1.141 GB, free: 9.355 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.6296, allocations: 11 kB / 1.141 GB, free: 9.344 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6296, allocations: 3.938 kB / 1.141 GB, free: 9.34 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6296, allocations: 0 / 1.141 GB, free: 9.34 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.6296, allocations: 77.11 kB / 1.141 GB, free: 9.246 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.6297, allocations: 8 kB / 1.141 GB, free: 9.238 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6298, allocations: 7.922 kB / 1.141 GB, free: 9.23 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.6298, allocations: 0 / 1.141 GB, free: 9.23 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.368e-05/0.6299, allocations: 113 kB / 1.141 GB, free: 9.113 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000134/0.6301, allocations: 218.6 kB / 1.142 GB, free: 8.883 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.945e-05/0.6301, allocations: 12.06 kB / 1.142 GB, free: 8.871 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.6301, allocations: 83.27 kB / 1.142 GB, free: 8.789 MB / 0.8263 GB Notification: Performance of Backend: time 2.11e-07/0.6301, allocations: 0 / 1.142 GB, free: 8.789 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.6306, allocations: 130.7 kB / 1.142 GB, free: 8.656 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0005372/0.6311, allocations: 0.5622 MB / 1.142 GB, free: 8.047 MB / 0.8263 GB Notification: Performance of Templates: time 0.003589/0.6347, allocations: 1.023 MB / 1.143 GB, free: 7.035 MB / 0.8263 GB make -j1 -f AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)