Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9021/0.9021, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 180.7 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.771/1.771, allocations: 223.2 MB / 447.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 100.2 kB / 0.5188 GB, free: 2.797 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 267.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008078/0.0008081, allocations: 19.98 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4743, allocations: 82.76 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.919, allocations: 415.4 MB / 1.179 GB, free: 242.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.92, allocations: 73.84 kB / 1.179 GB, free: 242.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04826/1.968, allocations: 23.52 MB / 1.202 GB, free: 237.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.968, allocations: 0 / 1.202 GB, free: 237.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.968, allocations: 0 / 1.202 GB, free: 237.1 MB / 0.698 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.000385/1.968, allocations: 362.7 kB / 1.203 GB, free: 236.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.969, allocations: 8.734 kB / 1.203 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/1.969, allocations: 0 / 1.203 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.969, allocations: 171 kB / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/1.969, allocations: 33.53 kB / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.969, allocations: 0 / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/1.969, allocations: 49.45 kB / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.969, allocations: 3.938 kB / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.969, allocations: 0 / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.969, allocations: 0 / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/1.969, allocations: 11.55 kB / 1.203 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/1.97, allocations: 0.6006 MB / 1.204 GB, free: 235.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.078e-05/1.97, allocations: 14.58 kB / 1.204 GB, free: 235.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/1.97, allocations: 0.494 MB / 1.204 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/1.97, allocations: 42.5 kB / 1.204 GB, free: 235.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.97, allocations: 3.938 kB / 1.204 GB, free: 235.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/1.97, allocations: 33.47 kB / 1.204 GB, free: 235.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/1.97, allocations: 55.38 kB / 1.204 GB, free: 235 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/1.97, allocations: 96.92 kB / 1.204 GB, free: 234.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.97, allocations: 25.7 kB / 1.204 GB, free: 234.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/1.97, allocations: 91.88 kB / 1.204 GB, free: 234.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/1.97, allocations: 3.969 kB / 1.204 GB, free: 234.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.97, allocations: 0 / 1.204 GB, free: 234.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/1.97, allocations: 319 kB / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/1.97, allocations: 0 / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/1.97, allocations: 21.53 kB / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/1.971, allocations: 3.938 kB / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.971, allocations: 0 / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.445e-05/1.971, allocations: 49.12 kB / 1.205 GB, free: 234.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.971, allocations: 7.781 kB / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.971, allocations: 4 kB / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.971, allocations: 3.844 kB / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/1.971, allocations: 7.906 kB / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.971, allocations: 0 / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/1.971, allocations: 3.906 kB / 1.205 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.971, allocations: 7.922 kB / 1.205 GB, free: 234.4 MB / 0.698 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.841e-05/1.971, allocations: 113.8 kB / 1.205 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.971, allocations: 3.844 kB / 1.205 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.591e-05/1.971, allocations: 116.4 kB / 1.205 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/1.971, allocations: 188 kB / 1.205 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-05/1.971, allocations: 180.1 kB / 1.205 GB, free: 233.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/1.971, allocations: 180.2 kB / 1.206 GB, free: 233.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/1.971, allocations: 408.8 kB / 1.206 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.971, allocations: 105 kB / 1.206 GB, free: 233.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/1.971, allocations: 108.8 kB / 1.206 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.635e-05/1.971, allocations: 176.3 kB / 1.206 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/1.971, allocations: 188 kB / 1.206 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/1.971, allocations: 176.3 kB / 1.207 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.58e-05/1.971, allocations: 188.3 kB / 1.207 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.461e-05/1.972, allocations: 307.6 kB / 1.207 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/1.972, allocations: 185.9 kB / 1.207 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/1.972, allocations: 184.2 kB / 1.207 GB, free: 231.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.972, allocations: 112.7 kB / 1.208 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/1.972, allocations: 184.4 kB / 1.208 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.972, allocations: 101 kB / 1.208 GB, free: 231.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.008e-05/1.972, allocations: 87.05 kB / 1.208 GB, free: 231.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.972, allocations: 0 / 1.208 GB, free: 231.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004822/1.972, allocations: 86.58 kB / 1.208 GB, free: 231 MB / 0.698 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.000993/1.973, allocations: 0.6367 MB / 1.209 GB, free: 230.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001073/1.974, allocations: 18.72 kB / 1.209 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.974, allocations: 0 / 1.209 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/1.974, allocations: 0 / 1.209 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/1.974, allocations: 0.528 MB / 1.209 GB, free: 230.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.974, allocations: 193.1 kB / 1.209 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.975, allocations: 0.6764 MB / 1.21 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.194e-05/1.975, allocations: 7.875 kB / 1.21 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.975, allocations: 11.38 kB / 1.21 GB, free: 229.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/1.975, allocations: 3.938 kB / 1.21 GB, free: 229.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01059/1.985, allocations: 7.345 MB / 1.217 GB, free: 228.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)