Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001143/0.001143, allocations: 115.6 kB / 16.42 MB, free: 6.496 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.00119/0.00119, 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.33/1.33, 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.05544/0.05544, allocations: 12.05 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005287/0.0005287, allocations: 31.89 kB / 356.3 MB, free: 13.99 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.906/1.906, allocations: 272.3 MB / 0.6657 GB, free: 18.33 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 119.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4957, allocations: 109.1 MB / 1 GB, free: 8.262 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1353/0.6311, allocations: 135.4 MB / 1.132 GB, free: 8.629 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.000156/0.6312, allocations: 63.78 kB / 1.132 GB, free: 8.566 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.6313, allocations: 0 / 1.132 GB, free: 8.566 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 8.897e-05/0.6314, allocations: 3.938 kB / 1.132 GB, free: 8.562 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.6315, allocations: 11.92 kB / 1.132 GB, free: 8.551 MB / 0.8107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.6323, allocations: 238.9 kB / 1.133 GB, free: 8.316 MB / 0.8107 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.6324, allocations: 35.91 kB / 1.133 GB, free: 8.281 MB / 0.8107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.6324, allocations: 3.984 kB / 1.133 GB, free: 8.277 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.6325, allocations: 15.98 kB / 1.133 GB, free: 8.262 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.6325, allocations: 19.86 kB / 1.133 GB, free: 8.242 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.6325, allocations: 0 / 1.133 GB, free: 8.242 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.633, allocations: 243.5 kB / 1.133 GB, free: 8.004 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.6331, allocations: 4 kB / 1.133 GB, free: 8 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.6331, allocations: 7.984 kB / 1.133 GB, free: 7.992 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.6335, allocations: 191.5 kB / 1.133 GB, free: 7.809 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6335, allocations: 0 / 1.133 GB, free: 7.809 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6335, allocations: 4 kB / 1.133 GB, free: 7.805 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6335, allocations: 0 / 1.133 GB, free: 7.805 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.0004015/0.6339, allocations: 358.5 kB / 1.133 GB, free: 7.41 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6339, allocations: 8.031 kB / 1.134 GB, free: 7.402 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.634, allocations: 4.844 kB / 1.134 GB, free: 7.398 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6341, allocations: 172.4 kB / 1.134 GB, free: 7.191 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.6342, allocations: 34.2 kB / 1.134 GB, free: 7.152 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.6342, allocations: 3.938 kB / 1.134 GB, free: 7.148 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.6343, allocations: 41.69 kB / 1.134 GB, free: 7.102 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6344, allocations: 0 / 1.134 GB, free: 7.102 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6344, allocations: 0 / 1.134 GB, free: 7.102 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.6344, allocations: 7.875 kB / 1.134 GB, free: 7.094 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.6344, allocations: 19.98 kB / 1.134 GB, free: 7.074 MB / 0.8107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.6351, allocations: 0.5989 MB / 1.134 GB, free: 6.352 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.6352, allocations: 18.52 kB / 1.134 GB, free: 6.324 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.6352, allocations: 12.92 kB / 1.134 GB, free: 6.309 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.6354, allocations: 332.4 kB / 1.135 GB, free: 5.91 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.6354, allocations: 34.56 kB / 1.135 GB, free: 5.867 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.6355, allocations: 4 kB / 1.135 GB, free: 5.863 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.6356, allocations: 33.69 kB / 1.135 GB, free: 5.824 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.6356, allocations: 51.41 kB / 1.135 GB, free: 5.762 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.6357, allocations: 109.8 kB / 1.135 GB, free: 5.645 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.6357, allocations: 25.7 kB / 1.135 GB, free: 5.613 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.6358, allocations: 88.05 kB / 1.135 GB, free: 5.523 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.6358, allocations: 7.844 kB / 1.135 GB, free: 5.516 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.6358, allocations: 17.84 kB / 1.135 GB, free: 5.492 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6359, allocations: 322.8 kB / 1.135 GB, free: 5.168 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.636, allocations: 4 kB / 1.135 GB, free: 5.164 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.636, allocations: 13.91 kB / 1.135 GB, free: 5.145 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.636, allocations: 21.72 kB / 1.135 GB, free: 5.117 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.636, allocations: 0 / 1.135 GB, free: 5.117 MB / 0.8107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.477e-05/0.6361, allocations: 53.72 kB / 1.135 GB, free: 5.059 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6361, allocations: 4 kB / 1.135 GB, free: 5.055 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6361, allocations: 7.984 kB / 1.135 GB, free: 5.047 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6362, allocations: 0 / 1.135 GB, free: 5.047 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.392e-05/0.6362, allocations: 7.984 kB / 1.135 GB, free: 5.039 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6362, allocations: 0 / 1.135 GB, free: 5.039 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.6362, allocations: 4 kB / 1.135 GB, free: 5.035 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.6363, allocations: 0 / 1.135 GB, free: 5.035 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.342e-05/0.6363, allocations: 114.3 kB / 1.136 GB, free: 4.914 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.6364, allocations: 8 kB / 1.136 GB, free: 4.906 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.6365, allocations: 121 kB / 1.136 GB, free: 4.781 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.004e-05/0.6365, allocations: 176.3 kB / 1.136 GB, free: 4.602 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.6366, allocations: 104.9 kB / 1.136 GB, free: 4.492 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.6367, allocations: 185.9 kB / 1.136 GB, free: 4.285 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.6367, allocations: 196.1 kB / 1.136 GB, free: 4.086 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.6369, allocations: 105 kB / 1.136 GB, free: 3.977 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.637, allocations: 180.3 kB / 1.137 GB, free: 3.793 MB / 0.8107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.336e-05/0.6371, allocations: 263.4 kB / 1.137 GB, free: 3.527 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001721/0.6373, allocations: 387 kB / 1.137 GB, free: 3.125 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.012e-05/0.6373, allocations: 108.9 kB / 1.137 GB, free: 3.012 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.6374, allocations: 87.27 kB / 1.137 GB, free: 2.926 MB / 0.8107 GB Notification: Performance of Backend: time 3.21e-07/0.6374, allocations: 0 / 1.137 GB, free: 2.926 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.6379, allocations: 170.4 kB / 1.138 GB, free: 2.75 MB / 0.8107 GB Notification: Performance of SimCode: time 0.0005011/0.6384, allocations: 0.8484 MB / 1.138 GB, free: 1.852 MB / 0.8107 GB Notification: Performance of Templates: time 0.003407/0.6418, allocations: 1.209 MB / 1.14 GB, free: 0.6484 MB / 0.8107 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)