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.8011/0.8011, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 186.7 kB / 187.3 MB, free: 11.89 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.546/1.546, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009228/0.0009227, allocations: 97.81 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 270.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.265e-05/5.282e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5553, allocations: 82.77 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9582/1.514, allocations: 415.3 MB / 1.17 GB, free: 9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.514, allocations: 79.78 kB / 1.17 GB, free: 8.961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5482/2.062, allocations: 23.43 MB / 1.193 GB, free: 239 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.025e-06/2.062, allocations: 3.938 kB / 1.193 GB, free: 239 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.136e-06/2.062, allocations: 0 / 1.193 GB, free: 239 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.0003852/2.063, allocations: 353.5 kB / 1.193 GB, free: 238.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/2.063, allocations: 11.69 kB / 1.193 GB, free: 238.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/2.063, allocations: 4 kB / 1.193 GB, free: 238.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/2.063, allocations: 166.7 kB / 1.193 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/2.063, allocations: 29.64 kB / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/2.063, allocations: 0 / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/2.063, allocations: 41.25 kB / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/2.063, allocations: 0 / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/2.063, allocations: 3.906 kB / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/2.063, allocations: 3.938 kB / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/2.063, allocations: 19.52 kB / 1.193 GB, free: 238.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/2.064, allocations: 0.599 MB / 1.194 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/2.064, allocations: 22.3 kB / 1.194 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/2.064, allocations: 4.859 kB / 1.194 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/2.064, allocations: 0.5006 MB / 1.194 GB, free: 237.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/2.064, allocations: 38.47 kB / 1.195 GB, free: 237.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/2.064, allocations: 0 / 1.195 GB, free: 237.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/2.064, allocations: 33.52 kB / 1.195 GB, free: 237 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/2.064, allocations: 51.41 kB / 1.195 GB, free: 237 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/2.064, allocations: 104.3 kB / 1.195 GB, free: 236.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/2.064, allocations: 29.39 kB / 1.195 GB, free: 236.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/2.064, allocations: 88.08 kB / 1.195 GB, free: 236.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/2.064, allocations: 4 kB / 1.195 GB, free: 236.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/2.064, allocations: 0 / 1.195 GB, free: 236.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/2.064, allocations: 318.7 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/2.064, allocations: 0 / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/2.064, allocations: 21.2 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.84e-05/2.065, allocations: 3.719 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/2.065, allocations: 4 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.135e-05/2.065, allocations: 48.52 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/2.065, allocations: 7.688 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/2.065, allocations: 0 / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/2.065, allocations: 3.781 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/2.065, allocations: 3.531 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/2.065, allocations: 0 / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/2.065, allocations: 11.73 kB / 1.195 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/2.065, allocations: 0 / 1.195 GB, free: 236.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 () * 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 4.623e-05/2.065, allocations: 109 kB / 1.195 GB, free: 236.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/2.065, allocations: 7.812 kB / 1.195 GB, free: 236.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/2.065, allocations: 116.7 kB / 1.195 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/2.065, allocations: 183.8 kB / 1.196 GB, free: 236 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/2.065, allocations: 176.3 kB / 1.196 GB, free: 235.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/2.065, allocations: 180.2 kB / 1.196 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/2.065, allocations: 412.9 kB / 1.196 GB, free: 235.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/2.065, allocations: 104.9 kB / 1.196 GB, free: 235 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/2.065, allocations: 108.8 kB / 1.197 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/2.065, allocations: 183.9 kB / 1.197 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/2.065, allocations: 176.3 kB / 1.197 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/2.065, allocations: 180.3 kB / 1.197 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-05/2.065, allocations: 188.2 kB / 1.197 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.475e-05/2.065, allocations: 311.3 kB / 1.198 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/2.066, allocations: 178.1 kB / 1.198 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/2.066, allocations: 191.7 kB / 1.198 GB, free: 233.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/2.066, allocations: 108.7 kB / 1.198 GB, free: 233.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/2.066, allocations: 176.3 kB / 1.198 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/2.066, allocations: 106.5 kB / 1.198 GB, free: 233.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.111e-05/2.066, allocations: 90.48 kB / 1.198 GB, free: 233 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.066, allocations: 0 / 1.198 GB, free: 233 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004401/2.066, allocations: 85.62 kB / 1.198 GB, free: 233 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 () * 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.0007275/2.067, allocations: 0.644 MB / 1.199 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/2.067, allocations: 10.84 kB / 1.199 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.067, allocations: 0 / 1.199 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/2.067, allocations: 3.938 kB / 1.199 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/2.067, allocations: 0.526 MB / 1.2 GB, free: 232.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/2.067, allocations: 134.9 kB / 1.2 GB, free: 232 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/2.068, allocations: 0.6761 MB / 1.2 GB, free: 231.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.849e-05/2.068, allocations: 7.219 kB / 1.2 GB, free: 231.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/2.068, allocations: 11.22 kB / 1.2 GB, free: 231.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/2.068, allocations: 3.938 kB / 1.2 GB, free: 231.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01173/2.079, allocations: 8.784 MB / 1.209 GB, free: 230.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)