Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.748/1.748, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009957/0.0009956, allocations: 171.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008607, allocations: 95.08 kB / 0.7808 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006621, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8911, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/2.027, allocations: 453.1 MB / 1.469 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/2.027, allocations: 73.81 kB / 1.469 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.461/2.488, allocations: 196.1 MB / 1.66 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.166e-06/2.488, allocations: 0 / 1.66 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.261e-05/2.488, allocations: 0 / 1.66 GB, free: 56.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.008639/2.497, allocations: 1.23 MB / 1.662 GB, free: 55.54 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/2.497, allocations: 8.969 kB / 1.662 GB, free: 55.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/2.498, allocations: 80.75 kB / 1.662 GB, free: 55.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/2.499, allocations: 232.1 kB / 1.662 GB, free: 55.19 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/2.499, allocations: 16.38 kB / 1.662 GB, free: 55.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/2.499, allocations: 16.31 kB / 1.662 GB, free: 55.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/2.5, allocations: 441.1 kB / 1.662 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/2.5, allocations: 192 / 1.662 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/2.5, allocations: 11.94 kB / 1.662 GB, free: 54.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/2.5, allocations: 4 kB / 1.662 GB, free: 54.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/2.502, allocations: 0.5892 MB / 1.663 GB, free: 54.11 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/2.503, allocations: 0.8924 MB / 1.664 GB, free: 53.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/2.504, allocations: 247.9 kB / 1.664 GB, free: 52.88 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/2.504, allocations: 80.77 kB / 1.664 GB, free: 52.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07156/2.575, allocations: 34.63 MB / 1.698 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/2.575, allocations: 38.56 kB / 1.698 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/2.575, allocations: 3.984 kB / 1.698 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001655/2.577, allocations: 400.1 kB / 1.698 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/2.577, allocations: 55.41 kB / 1.698 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/2.577, allocations: 143 kB / 1.698 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/2.577, allocations: 33.64 kB / 1.699 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/2.577, allocations: 112.4 kB / 1.699 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/2.577, allocations: 82.75 kB / 1.699 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/2.577, allocations: 4 kB / 1.699 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/2.578, allocations: 326.8 kB / 1.699 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/2.578, allocations: 83.94 kB / 1.699 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/2.578, allocations: 125.1 kB / 1.699 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/2.578, allocations: 213 kB / 1.699 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.578, allocations: 7.875 kB / 1.699 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006485/2.579, allocations: 300.3 kB / 1.7 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/2.579, allocations: 9.875 kB / 1.7 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/2.579, allocations: 0 / 1.7 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/2.579, allocations: 7.75 kB / 1.7 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/2.579, allocations: 82.12 kB / 1.7 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/2.579, allocations: 5.25 kB / 1.7 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/2.58, allocations: 19.75 kB / 1.7 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/2.58, allocations: 27.97 kB / 1.7 GB, free: 12.95 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001219/2.58, allocations: 141.8 kB / 1.7 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/2.58, allocations: 11.91 kB / 1.7 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/2.582, allocations: 2.299 MB / 1.702 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/2.582, allocations: 11.98 kB / 1.702 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/2.582, allocations: 0 / 1.702 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/2.582, allocations: 0 / 1.702 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/2.584, allocations: 3.361 MB / 1.706 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.584, allocations: 0 / 1.706 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/2.585, allocations: 51.95 kB / 1.706 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/2.585, allocations: 4.938 kB / 1.706 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/2.585, allocations: 8 kB / 1.706 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/2.585, allocations: 0 / 1.706 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/2.585, allocations: 3.984 kB / 1.706 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/2.585, allocations: 0.5506 MB / 1.706 GB, free: 6.387 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/2.586, allocations: 136.6 kB / 1.706 GB, free: 6.234 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/2.586, allocations: 5.812 kB / 1.706 GB, free: 6.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/2.586, allocations: 23.98 kB / 1.706 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/2.586, allocations: 15.98 kB / 1.706 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/2.586, allocations: 19.92 kB / 1.706 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.618e-05/2.586, allocations: 109 kB / 1.706 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/2.586, allocations: 0 / 1.706 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007579/2.594, allocations: 1.662 MB / 1.708 GB, free: 4.402 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01432/2.608, allocations: 2.445 MB / 1.71 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007434/2.609, allocations: 320.6 kB / 1.711 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.609, allocations: 0.8438 kB / 1.711 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/2.609, allocations: 244.5 kB / 1.711 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/2.61, allocations: 60.67 kB / 1.711 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/2.611, allocations: 0.7968 MB / 1.712 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/2.611, allocations: 0.7664 MB / 1.713 GB, free: 15.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000678/2.612, allocations: 402.6 kB / 1.713 GB, free: 15.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/2.612, allocations: 47.41 kB / 1.713 GB, free: 15.32 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/2.612, allocations: 0 / 1.713 GB, free: 15.32 MB / 0.948 GB Notification: Performance of Templates: time 0.636/3.248, allocations: 47.57 MB / 1.759 GB, free: 183.1 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1)