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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8526/0.8526, allocations: 140 MB / 156 MB, free: 8.434 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 178.2 kB / 188.5 MB, free: 9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 426.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 98.34 kB / 0.4945 GB, free: 8.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001607/0.001607, allocations: 267.8 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004488, allocations: 16 kB / 0.662 GB, free: 6.727 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3623, allocations: 79.3 MB / 0.7394 GB, free: 46.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6923/1.055, allocations: 413.6 MB / 1.143 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.055, allocations: 77.02 kB / 1.143 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3342/1.389, allocations: 22.95 MB / 1.166 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.379e-06/1.389, allocations: 0 / 1.166 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.389, allocations: 2.812 kB / 1.166 GB, free: 236.4 MB / 0.6823 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.000423/1.39, allocations: 356.2 kB / 1.166 GB, free: 236 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.39, allocations: 11.72 kB / 1.166 GB, free: 236 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/1.39, allocations: 2.844 kB / 1.166 GB, free: 236 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/1.39, allocations: 166.8 kB / 1.166 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/1.39, allocations: 33.22 kB / 1.166 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/1.39, allocations: 1.469 kB / 1.166 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.39, allocations: 48.8 kB / 1.166 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.39, allocations: 3.938 kB / 1.166 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.39, allocations: 4.172 kB / 1.166 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/1.39, allocations: 7.312 kB / 1.166 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/1.39, allocations: 14.98 kB / 1.166 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/1.391, allocations: 0.5921 MB / 1.167 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.324e-05/1.391, allocations: 21.83 kB / 1.167 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/1.391, allocations: 5.828 kB / 1.167 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/1.391, allocations: 0.494 MB / 1.168 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/1.391, allocations: 37.78 kB / 1.168 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/1.391, allocations: 0 / 1.168 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/1.391, allocations: 38.22 kB / 1.168 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/1.391, allocations: 51.94 kB / 1.168 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/1.392, allocations: 105.4 kB / 1.168 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.392, allocations: 26.23 kB / 1.168 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/1.392, allocations: 87.95 kB / 1.168 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/1.392, allocations: 3 kB / 1.168 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.392, allocations: 0.5312 kB / 1.168 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/1.392, allocations: 311.9 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/1.392, allocations: 11.27 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/1.392, allocations: 15.09 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/1.392, allocations: 25.53 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.392, allocations: 2.031 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.088e-05/1.392, allocations: 51.36 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.392, allocations: 7.75 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.392, allocations: 0.5625 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.392, allocations: 3.25 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/1.392, allocations: 8.359 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.392, allocations: 1.25 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/1.392, allocations: 3.156 kB / 1.168 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.392, allocations: 4.344 kB / 1.168 GB, free: 233.8 MB / 0.6823 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 6.043e-05/1.392, allocations: 120.6 kB / 1.168 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.392, allocations: 1.25 kB / 1.168 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/1.392, allocations: 125.3 kB / 1.169 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.392, allocations: 181.5 kB / 1.169 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/1.392, allocations: 180.3 kB / 1.169 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/1.392, allocations: 187.3 kB / 1.169 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/1.393, allocations: 412.3 kB / 1.169 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.393, allocations: 102.3 kB / 1.17 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/1.393, allocations: 103.8 kB / 1.17 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.21e-05/1.393, allocations: 180.5 kB / 1.17 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/1.393, allocations: 180.1 kB / 1.17 GB, free: 232 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.302e-05/1.393, allocations: 185 kB / 1.17 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-05/1.393, allocations: 179.9 kB / 1.17 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/1.393, allocations: 310.3 kB / 1.171 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/1.393, allocations: 191.1 kB / 1.171 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/1.393, allocations: 182.9 kB / 1.171 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.393, allocations: 113.2 kB / 1.171 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/1.393, allocations: 182.8 kB / 1.171 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/1.393, allocations: 108.1 kB / 1.171 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.235e-05/1.393, allocations: 87.36 kB / 1.171 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.393, allocations: 0 / 1.171 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005244/1.394, allocations: 78.69 kB / 1.172 GB, free: 230.4 MB / 0.6823 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.001112/1.395, allocations: 0.6543 MB / 1.172 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/1.395, allocations: 5.906 kB / 1.172 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.395, allocations: 0.5938 kB / 1.172 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/1.395, allocations: 3.281 kB / 1.172 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/1.395, allocations: 0.5308 MB / 1.173 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/1.396, allocations: 188.7 kB / 1.173 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/1.396, allocations: 0.6761 MB / 1.174 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.15e-05/1.396, allocations: 11.34 kB / 1.174 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/1.396, allocations: 10.78 kB / 1.174 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.396, allocations: 0 / 1.174 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.009739/1.406, allocations: 7.372 MB / 1.181 GB, free: 228 MB / 0.6823 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)