Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.857/0.857, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001106/0.001106, allocations: 171.8 kB / 182.2 MB, free: 9.484 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.477/1.477, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0009506/0.0009502, allocations: 92.09 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 282.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.825e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4573, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.812, allocations: 419.6 MB / 1.167 GB, free: 247.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.813, allocations: 74.78 kB / 1.167 GB, free: 247.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.47/2.283, allocations: 193 MB / 1.356 GB, free: 93.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.183e-06/2.283, allocations: 0 / 1.356 GB, free: 93.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.296e-05/2.283, allocations: 4 kB / 1.356 GB, free: 93.32 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005981/2.289, allocations: 1.211 MB / 1.357 GB, free: 92.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/2.289, allocations: 8.031 kB / 1.357 GB, free: 92.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/2.29, allocations: 87.73 kB / 1.357 GB, free: 91.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/2.29, allocations: 226.8 kB / 1.357 GB, free: 91.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/2.29, allocations: 7.938 kB / 1.357 GB, free: 91.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/2.29, allocations: 12 kB / 1.357 GB, free: 91.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004246/2.291, allocations: 399.7 kB / 1.358 GB, free: 91.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/2.291, allocations: 208.7 kB / 1.358 GB, free: 91.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/2.291, allocations: 3.953 kB / 1.358 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/2.291, allocations: 0 / 1.358 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/2.291, allocations: 4 kB / 1.358 GB, free: 91.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/2.292, allocations: 0.8593 MB / 1.359 GB, free: 90.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/2.292, allocations: 135.4 kB / 1.359 GB, free: 90 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/2.292, allocations: 69.28 kB / 1.359 GB, free: 89.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07374/2.366, allocations: 34.75 MB / 1.393 GB, free: 52.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/2.366, allocations: 38.56 kB / 1.393 GB, free: 52.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/2.366, allocations: 0 / 1.393 GB, free: 52.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001266/2.367, allocations: 278.3 kB / 1.393 GB, free: 51.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/2.367, allocations: 63.34 kB / 1.393 GB, free: 51.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/2.368, allocations: 110.6 kB / 1.393 GB, free: 51.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/2.368, allocations: 33.64 kB / 1.393 GB, free: 51.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/2.368, allocations: 108.3 kB / 1.393 GB, free: 51.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/2.368, allocations: 82.75 kB / 1.393 GB, free: 51.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/2.368, allocations: 3.938 kB / 1.393 GB, free: 51.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/2.368, allocations: 322.8 kB / 1.394 GB, free: 51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/2.368, allocations: 71.98 kB / 1.394 GB, free: 50.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/2.368, allocations: 118.6 kB / 1.394 GB, free: 50.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/2.369, allocations: 123.9 kB / 1.394 GB, free: 50.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.369, allocations: 0 / 1.394 GB, free: 50.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001079/2.37, allocations: 313.2 kB / 1.394 GB, free: 50.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/2.37, allocations: 13.2 kB / 1.394 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.37, allocations: 4 kB / 1.394 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/2.37, allocations: 4 kB / 1.394 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/2.37, allocations: 79.88 kB / 1.394 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/2.37, allocations: 4 kB / 1.394 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/2.37, allocations: 11.84 kB / 1.394 GB, free: 50.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/2.37, allocations: 23.97 kB / 1.394 GB, free: 50.23 MB / 0.698 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 () * 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 9.442e-05/2.371, allocations: 117 kB / 1.395 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/2.371, allocations: 15.81 kB / 1.395 GB, free: 50.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/2.372, allocations: 0.5159 MB / 1.395 GB, free: 49.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/2.372, allocations: 4 kB / 1.395 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/2.372, allocations: 0 / 1.395 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/2.372, allocations: 3.984 kB / 1.395 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/2.373, allocations: 0.8088 MB / 1.396 GB, free: 48.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/2.373, allocations: 0 / 1.396 GB, free: 48.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/2.374, allocations: 71.88 kB / 1.396 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/2.374, allocations: 3.938 kB / 1.396 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/2.374, allocations: 15.98 kB / 1.396 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/2.374, allocations: 0 / 1.396 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/2.374, allocations: 4 kB / 1.396 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/2.375, allocations: 463.5 kB / 1.396 GB, free: 48.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/2.375, allocations: 128.8 kB / 1.397 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/2.375, allocations: 3.938 kB / 1.397 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/2.375, allocations: 19.92 kB / 1.397 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/2.375, allocations: 27.95 kB / 1.397 GB, free: 47.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/2.375, allocations: 27.91 kB / 1.397 GB, free: 47.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.371e-05/2.375, allocations: 96.16 kB / 1.397 GB, free: 47.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.375, allocations: 0 / 1.397 GB, free: 47.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006759/2.382, allocations: 1.647 MB / 1.398 GB, free: 46.19 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: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01241/2.395, allocations: 2.513 MB / 1.401 GB, free: 43.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004755/2.395, allocations: 240.9 kB / 1.401 GB, free: 43.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/2.395, allocations: 0 / 1.401 GB, free: 43.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/2.395, allocations: 155.8 kB / 1.401 GB, free: 43.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/2.396, allocations: 49.52 kB / 1.401 GB, free: 43.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/2.396, allocations: 285.2 kB / 1.401 GB, free: 42.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/2.397, allocations: 0.7376 MB / 1.402 GB, free: 42.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00102/2.398, allocations: 1.214 MB / 1.403 GB, free: 40.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/2.398, allocations: 59.39 kB / 1.403 GB, free: 40.89 MB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/2.398, allocations: 0 / 1.403 GB, free: 40.89 MB / 0.698 GB Notification: Performance of Templates: time 0.04588/2.444, allocations: 39.53 MB / 1.442 GB, free: 1.344 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)