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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 176.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5243/0.5243, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008635, allocations: 96.45 kB / 420.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004214, allocations: 12 kB / 0.4901 GB, free: 8.047 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4382, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.592, allocations: 407.1 MB / 0.957 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.592, allocations: 72.94 kB / 0.9571 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04767/1.64, allocations: 23.46 MB / 0.98 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.545e-06/1.64, allocations: 0 / 0.98 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.64, allocations: 0 / 0.98 GB, free: 196.5 MB / 0.6042 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.0003804/1.64, allocations: 363 kB / 0.9803 GB, free: 196.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.64, allocations: 8.031 kB / 0.9803 GB, free: 196.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.64, allocations: 0.9375 kB / 0.9803 GB, free: 196.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.64, allocations: 176 kB / 0.9805 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/1.641, allocations: 26.27 kB / 0.9805 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.641, allocations: 384 / 0.9805 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/1.641, allocations: 49.95 kB / 0.9806 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.641, allocations: 7.875 kB / 0.9806 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.641, allocations: 0 / 0.9806 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.641, allocations: 3.609 kB / 0.9806 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/1.641, allocations: 12 kB / 0.9806 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/1.642, allocations: 0.5934 MB / 0.9812 GB, free: 195.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/1.642, allocations: 18.52 kB / 0.9812 GB, free: 195 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/1.642, allocations: 8.922 kB / 0.9812 GB, free: 195 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/1.642, allocations: 0.4975 MB / 0.9817 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/1.642, allocations: 38.5 kB / 0.9817 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/1.642, allocations: 0 / 0.9817 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/1.642, allocations: 37.7 kB / 0.9818 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/1.642, allocations: 51.41 kB / 0.9818 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/1.642, allocations: 97.61 kB / 0.9819 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.642, allocations: 25.7 kB / 0.9819 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/1.642, allocations: 95.98 kB / 0.982 GB, free: 194 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/1.642, allocations: 128 / 0.982 GB, free: 194 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/1.642, allocations: 4 kB / 0.982 GB, free: 194 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/1.642, allocations: 314.2 kB / 0.9823 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/1.642, allocations: 4 kB / 0.9823 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/1.642, allocations: 21.84 kB / 0.9823 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/1.642, allocations: 25.45 kB / 0.9824 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.642, allocations: 0 / 0.9824 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.367e-05/1.642, allocations: 57.44 kB / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.642, allocations: 4 kB / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.643, allocations: 0 / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.643, allocations: 96 / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/1.643, allocations: 8 kB / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/1.643, allocations: 4 kB / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/1.643, allocations: 7.984 kB / 0.9824 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.643, allocations: 0 / 0.9824 GB, free: 193.6 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/1.643, allocations: 117.8 kB / 0.9826 GB, free: 193.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/1.643, allocations: 3.281 kB / 0.9826 GB, free: 193.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/1.643, allocations: 120.8 kB / 0.9827 GB, free: 193.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.643, allocations: 180.3 kB / 0.9828 GB, free: 193.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/1.643, allocations: 188.1 kB / 0.983 GB, free: 193 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/1.643, allocations: 176.3 kB / 0.9832 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/1.643, allocations: 413 kB / 0.9836 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.643, allocations: 104.9 kB / 0.9837 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/1.643, allocations: 101 kB / 0.9838 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.423e-05/1.643, allocations: 182.7 kB / 0.984 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/1.643, allocations: 183.9 kB / 0.9841 GB, free: 191.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.744e-05/1.643, allocations: 180.3 kB / 0.9843 GB, free: 191.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-05/1.643, allocations: 188.2 kB / 0.9845 GB, free: 191.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/1.643, allocations: 311.5 kB / 0.9848 GB, free: 191 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/1.643, allocations: 190 kB / 0.985 GB, free: 190.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/1.643, allocations: 176.3 kB / 0.9851 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.644, allocations: 116.7 kB / 0.9852 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.644, allocations: 176.3 kB / 0.9854 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/1.644, allocations: 104.9 kB / 0.9855 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.024e-05/1.644, allocations: 90.98 kB / 0.9856 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/1.644, allocations: 0 / 0.9856 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004232/1.644, allocations: 83.62 kB / 0.9857 GB, free: 190.1 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007645/1.645, allocations: 0.6241 MB / 0.9863 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/1.645, allocations: 19.75 kB / 0.9863 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.645, allocations: 0 / 0.9863 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/1.645, allocations: 0 / 0.9863 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.645, allocations: 0.5299 MB / 0.9868 GB, free: 189 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/1.646, allocations: 191.1 kB / 0.987 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/1.646, allocations: 0.6768 MB / 0.9877 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.581e-05/1.646, allocations: 7.938 kB / 0.9877 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/1.646, allocations: 11.44 kB / 0.9877 GB, free: 188 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/1.646, allocations: 3.938 kB / 0.9877 GB, free: 188 MB / 0.6042 GB Notification: Performance of Templates: time 0.009923/1.656, allocations: 7.381 MB / 0.9949 GB, free: 183.6 MB / 0.6042 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)