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.8737/0.8737, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001131/0.001131, allocations: 183.8 kB / 182.2 MB, free: 9.453 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.505/1.505, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001067/0.001067, allocations: 88.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 285.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.591e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4753, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.375, allocations: 414.6 MB / 1.162 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.375, allocations: 72.41 kB / 1.162 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5368/1.912, allocations: 23.02 MB / 1.185 GB, free: 174.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.912, allocations: 0 / 1.185 GB, free: 174.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.912, allocations: 0 / 1.185 GB, free: 174.2 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.000351/1.912, allocations: 359.6 kB / 1.185 GB, free: 173.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.913, allocations: 7.625 kB / 1.185 GB, free: 173.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/1.913, allocations: 3.812 kB / 1.185 GB, free: 173.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/1.913, allocations: 163 kB / 1.185 GB, free: 173.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/1.913, allocations: 36.89 kB / 1.185 GB, free: 173.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/1.913, allocations: 0 / 1.185 GB, free: 173.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.486e-05/1.913, allocations: 11.44 kB / 1.185 GB, free: 173.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/1.913, allocations: 36.92 kB / 1.185 GB, free: 173.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/1.913, allocations: 0 / 1.185 GB, free: 173.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.913, allocations: 3.375 kB / 1.185 GB, free: 173.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/1.913, allocations: 3.938 kB / 1.185 GB, free: 173.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/1.914, allocations: 0.5806 MB / 1.186 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/1.914, allocations: 22.42 kB / 1.186 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/1.914, allocations: 4.859 kB / 1.186 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/1.914, allocations: 0.4942 MB / 1.187 GB, free: 172.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/1.914, allocations: 30.56 kB / 1.187 GB, free: 172.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/1.914, allocations: 4 kB / 1.187 GB, free: 172.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002543/1.914, allocations: 52.48 kB / 1.187 GB, free: 172.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/1.914, allocations: 51.41 kB / 1.187 GB, free: 172.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/1.914, allocations: 95.25 kB / 1.187 GB, free: 172.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/1.914, allocations: 25.7 kB / 1.187 GB, free: 172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/1.914, allocations: 91.2 kB / 1.187 GB, free: 171.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/1.914, allocations: 3.938 kB / 1.187 GB, free: 171.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.914, allocations: 0 / 1.187 GB, free: 171.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/1.914, allocations: 322.3 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/1.914, allocations: 3.906 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/1.914, allocations: 17.12 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.915, allocations: 15.19 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.915, allocations: 0 / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/1.915, allocations: 59.59 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.915, allocations: 11.23 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.915, allocations: 4.062 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.915, allocations: 0 / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/1.915, allocations: 3.812 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.915, allocations: 3.812 kB / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/1.915, allocations: 0 / 1.187 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.915, allocations: 4 kB / 1.187 GB, free: 171.6 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.833e-05/1.915, allocations: 108.8 kB / 1.187 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.915, allocations: 3.906 kB / 1.187 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/1.915, allocations: 128.9 kB / 1.187 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.915, allocations: 176.3 kB / 1.188 GB, free: 171.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/1.915, allocations: 176.3 kB / 1.188 GB, free: 171 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/1.915, allocations: 183.7 kB / 1.188 GB, free: 170.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/1.915, allocations: 384.9 kB / 1.188 GB, free: 170.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.915, allocations: 108.9 kB / 1.188 GB, free: 170.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/1.916, allocations: 108.9 kB / 1.189 GB, free: 170.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/1.916, allocations: 180.2 kB / 1.189 GB, free: 170 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.916, allocations: 179.9 kB / 1.189 GB, free: 169.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/1.916, allocations: 184.2 kB / 1.189 GB, free: 169.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/1.916, allocations: 180.1 kB / 1.189 GB, free: 169.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/1.916, allocations: 310.8 kB / 1.19 GB, free: 169.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/1.916, allocations: 182 kB / 1.19 GB, free: 168.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/1.916, allocations: 176.3 kB / 1.19 GB, free: 168.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.916, allocations: 115.7 kB / 1.19 GB, free: 168.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/1.916, allocations: 188.1 kB / 1.19 GB, free: 168.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.916, allocations: 102.4 kB / 1.19 GB, free: 168.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.919e-05/1.916, allocations: 85.88 kB / 1.19 GB, free: 168.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.916, allocations: 0 / 1.19 GB, free: 168.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003871/1.916, allocations: 83.2 kB / 1.19 GB, free: 168.2 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.0007179/1.917, allocations: 0.7232 MB / 1.191 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/1.917, allocations: 10.62 kB / 1.191 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.917, allocations: 0 / 1.191 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/1.917, allocations: 4.125 kB / 1.191 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/1.917, allocations: 0.5207 MB / 1.192 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001474/1.918, allocations: 125 kB / 1.192 GB, free: 167.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/1.918, allocations: 0.6808 MB / 1.192 GB, free: 166.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.023e-05/1.918, allocations: 7.906 kB / 1.192 GB, free: 166.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/1.918, allocations: 11.34 kB / 1.192 GB, free: 166.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/1.918, allocations: 0 / 1.192 GB, free: 166.6 MB / 0.698 GB Notification: Performance of Templates: time 0.006283/1.924, allocations: 3.863 MB / 1.196 GB, free: 165.9 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)