Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.2 kB / 15.99 MB, free: 6.328 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.001168/0.001168, allocations: 193.8 kB / 16.91 MB, free: 6.168 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 126.1 MB / 416.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 0.4944 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3858, allocations: 78.7 MB / 0.5713 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.141/0.5269, allocations: 133.5 MB / 0.7016 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.5271, allocations: 47.73 kB / 0.7017 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.5271, allocations: 0 / 0.7017 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.5272, allocations: 7.922 kB / 0.7017 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.5273, allocations: 8 kB / 0.7017 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.5282, allocations: 228 kB / 0.7019 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.5282, allocations: 27.91 kB / 0.7019 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.5283, allocations: 8 kB / 0.7019 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.5283, allocations: 15.92 kB / 0.702 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.5284, allocations: 23.8 kB / 0.702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.5284, allocations: 3.938 kB / 0.702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.5288, allocations: 243.4 kB / 0.7022 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.5289, allocations: 7.984 kB / 0.7022 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.5289, allocations: 15.92 kB / 0.7022 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.5292, allocations: 185.6 kB / 0.7024 GB, free: 132 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5292, allocations: 0 / 0.7024 GB, free: 132 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5293, allocations: 4 kB / 0.7024 GB, free: 128 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5293, allocations: 0 / 0.7024 GB, free: 128 kB / 0.5294 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.0003879/0.5297, allocations: 363.3 kB / 0.7028 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5297, allocations: 12.03 kB / 0.7028 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.5297, allocations: 0.9375 kB / 0.7028 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5299, allocations: 172.3 kB / 0.7029 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.5299, allocations: 26.27 kB / 0.703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5299, allocations: 7.938 kB / 0.703 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.5301, allocations: 41.69 kB / 0.703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5301, allocations: 0 / 0.703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5301, allocations: 0 / 0.703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5301, allocations: 0 / 0.703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.5302, allocations: 19.98 kB / 0.703 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.5309, allocations: 0.5989 MB / 0.7036 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.5309, allocations: 14.58 kB / 0.7036 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.531, allocations: 4.859 kB / 0.7036 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.5312, allocations: 340.5 kB / 0.704 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.5312, allocations: 34.56 kB / 0.704 GB, free: 14.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5312, allocations: 0 / 0.704 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.5313, allocations: 41.62 kB / 0.704 GB, free: 14.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5314, allocations: 51.41 kB / 0.7041 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.5314, allocations: 97.86 kB / 0.7042 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5315, allocations: 29.7 kB / 0.7042 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.5315, allocations: 88.03 kB / 0.7043 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.5315, allocations: 15.97 kB / 0.7043 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5316, allocations: 13.72 kB / 0.7043 GB, free: 13.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5317, allocations: 314.8 kB / 0.7046 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.5317, allocations: 7.984 kB / 0.7046 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.5317, allocations: 21.91 kB / 0.7047 GB, free: 13.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.5318, allocations: 25.66 kB / 0.7047 GB, free: 13.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5318, allocations: 4 kB / 0.7047 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.435e-05/0.5319, allocations: 41.69 kB / 0.7047 GB, free: 13.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5319, allocations: 9.5 kB / 0.7047 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5319, allocations: 96 / 0.7047 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5319, allocations: 7.984 kB / 0.7047 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.532, allocations: 4 kB / 0.7047 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.532, allocations: 11.86 kB / 0.7048 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.532, allocations: 4 kB / 0.7048 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.532, allocations: 7.938 kB / 0.7048 GB, free: 13.34 MB / 0.545 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.761e-05/0.5321, allocations: 110.8 kB / 0.7049 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.5321, allocations: 0 / 0.7049 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.5323, allocations: 121.9 kB / 0.705 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.999e-05/0.5323, allocations: 188.2 kB / 0.7052 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.607e-05/0.5324, allocations: 176.3 kB / 0.7053 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/0.5325, allocations: 180.3 kB / 0.7055 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.5327, allocations: 413.1 kB / 0.7059 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/0.5327, allocations: 101 kB / 0.706 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.5328, allocations: 104.9 kB / 0.7061 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.5328, allocations: 184.2 kB / 0.7063 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.5329, allocations: 180.3 kB / 0.7064 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.5329, allocations: 184.2 kB / 0.7066 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-05/0.533, allocations: 176.3 kB / 0.7068 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5331, allocations: 311.7 kB / 0.7071 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5332, allocations: 186 kB / 0.7073 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.5333, allocations: 184.3 kB / 0.7074 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.5334, allocations: 113 kB / 0.7075 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.5335, allocations: 180.2 kB / 0.7077 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.5335, allocations: 101 kB / 0.7078 GB, free: 10 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.5336, allocations: 91.22 kB / 0.7079 GB, free: 9.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5336, allocations: 0 / 0.7079 GB, free: 9.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003223/0.5339, allocations: 51.92 kB / 0.7079 GB, free: 9.863 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003302/0.5343, allocations: 262.6 kB / 0.7082 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.5344, allocations: 7.938 kB / 0.7082 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5344, allocations: 4.125 kB / 0.7082 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5344, allocations: 0 / 0.7082 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.5348, allocations: 463.7 kB / 0.7087 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.535, allocations: 181.9 kB / 0.7088 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.5352, allocations: 0.6845 MB / 0.7095 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.5353, allocations: 7.938 kB / 0.7095 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.5353, allocations: 7.438 kB / 0.7095 GB, free: 8.191 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5353, allocations: 0 / 0.7095 GB, free: 8.191 MB / 0.545 GB Notification: Performance of Templates: time 0.003496/0.5388, allocations: 1.284 MB / 0.7108 GB, free: 6.914 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)