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.8286/0.8286, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001109/0.001109, allocations: 185 kB / 191.5 MB, free: 5.742 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.677/1.677, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.000995/0.0009951, allocations: 88.27 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001712, allocations: 274.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000674/0.0006741, allocations: 12.16 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2075, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.725, allocations: 420.3 MB / 1.184 GB, free: 243.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.726, allocations: 73.77 kB / 1.184 GB, free: 243.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.4617/2.187, allocations: 196.1 MB / 1.376 GB, free: 72.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/2.187, allocations: 0 / 1.376 GB, free: 72.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.406e-05/2.187, allocations: 4 kB / 1.376 GB, free: 72.87 MB / 0.7136 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.006552/2.194, allocations: 1.232 MB / 1.377 GB, free: 71.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/2.194, allocations: 12.03 kB / 1.377 GB, free: 71.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/2.195, allocations: 79.73 kB / 1.377 GB, free: 71.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/2.195, allocations: 222.9 kB / 1.377 GB, free: 71.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/2.195, allocations: 12 kB / 1.377 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/2.195, allocations: 24 kB / 1.377 GB, free: 71.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/2.196, allocations: 436.5 kB / 1.378 GB, free: 70.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/2.196, allocations: 0 / 1.378 GB, free: 70.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/2.196, allocations: 15.94 kB / 1.378 GB, free: 70.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/2.197, allocations: 4 kB / 1.378 GB, free: 70.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/2.197, allocations: 0.5892 MB / 1.378 GB, free: 70.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/2.198, allocations: 0.9021 MB / 1.379 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/2.199, allocations: 245 kB / 1.379 GB, free: 68.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07078/2.27, allocations: 34.67 MB / 1.413 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/2.27, allocations: 38.56 kB / 1.413 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/2.27, allocations: 0 / 1.413 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.001589/2.272, allocations: 408 kB / 1.414 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/2.272, allocations: 51.41 kB / 1.414 GB, free: 30.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/2.272, allocations: 134.6 kB / 1.414 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/2.272, allocations: 29.7 kB / 1.414 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/2.272, allocations: 107.9 kB / 1.414 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/2.272, allocations: 86.73 kB / 1.414 GB, free: 30.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/2.272, allocations: 8 kB / 1.414 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/2.272, allocations: 326.8 kB / 1.414 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/2.272, allocations: 83.94 kB / 1.414 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/2.272, allocations: 118.6 kB / 1.415 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/2.273, allocations: 92.8 kB / 1.415 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.273, allocations: 0 / 1.415 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005686/2.273, allocations: 300 kB / 1.415 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/2.273, allocations: 4 kB / 1.415 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/2.273, allocations: 7.984 kB / 1.415 GB, free: 29.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/2.273, allocations: 0 / 1.415 GB, free: 29.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/2.274, allocations: 83.88 kB / 1.415 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/2.274, allocations: 4.094 kB / 1.415 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/2.274, allocations: 23.84 kB / 1.415 GB, free: 29.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/2.274, allocations: 27.91 kB / 1.415 GB, free: 29.19 MB / 0.7136 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.0001158/2.274, allocations: 134.2 kB / 1.415 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/2.274, allocations: 19.77 kB / 1.415 GB, free: 29.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/2.276, allocations: 2.292 MB / 1.418 GB, free: 26.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/2.276, allocations: 15.98 kB / 1.418 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/2.276, allocations: 0 / 1.418 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/2.276, allocations: 3.984 kB / 1.418 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/2.279, allocations: 3.369 MB / 1.421 GB, free: 23.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.279, allocations: 3.984 kB / 1.421 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/2.279, allocations: 55.89 kB / 1.421 GB, free: 23.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/2.279, allocations: 0 / 1.421 GB, free: 23.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/2.279, allocations: 11.98 kB / 1.421 GB, free: 23.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/2.279, allocations: 0 / 1.421 GB, free: 23.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.279, allocations: 0 / 1.421 GB, free: 23.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/2.28, allocations: 0.5507 MB / 1.421 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/2.28, allocations: 144.5 kB / 1.422 GB, free: 22.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/2.28, allocations: 4 kB / 1.422 GB, free: 22.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/2.28, allocations: 19.98 kB / 1.422 GB, free: 22.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/2.28, allocations: 15.97 kB / 1.422 GB, free: 22.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/2.28, allocations: 15.94 kB / 1.422 GB, free: 22.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.991e-05/2.28, allocations: 108.3 kB / 1.422 GB, free: 22.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/2.28, allocations: 4 kB / 1.422 GB, free: 22.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009184/2.289, allocations: 1.655 MB / 1.423 GB, free: 20.62 MB / 0.7136 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.01521/2.305, allocations: 2.451 MB / 1.426 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008246/2.305, allocations: 320.3 kB / 1.426 GB, free: 17.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/2.305, allocations: 0 / 1.426 GB, free: 17.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/2.306, allocations: 240.5 kB / 1.426 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/2.306, allocations: 63.34 kB / 1.426 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/2.307, allocations: 0.7888 MB / 1.427 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/2.308, allocations: 0.7742 MB / 1.428 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005481/2.308, allocations: 408.9 kB / 1.428 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/2.308, allocations: 51.41 kB / 1.428 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/2.308, allocations: 0 / 1.428 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.4854/2.794, allocations: 44.22 MB / 1.471 GB, free: 171.7 MB / 0.7136 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)