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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.196/2.196, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001395, allocations: 199.4 kB / 499.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 119.6 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 51.58 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3192, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1402/0.4595, allocations: 134 MB / 1.349 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.4897, allocations: 24.64 MB / 1.373 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.49, allocations: 0 / 1.373 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.4904, allocations: 35.75 kB / 1.373 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.4908, allocations: 87.47 kB / 1.373 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01909/0.5099, allocations: 5.289 MB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.5105, allocations: 307.8 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.5106, allocations: 13.5 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.511, allocations: 131.5 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.5113, allocations: 91.59 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.009e-05/0.5113, allocations: 12 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/0.5349, allocations: 10.85 MB / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.5351, allocations: 35.89 kB / 1.389 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.5353, allocations: 83.64 kB / 1.39 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02414/0.5594, allocations: 6.183 MB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.5595, allocations: 4 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.488e-06/0.5595, allocations: 0 / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.5596, allocations: 4 kB / 1.396 GB, free: 14.79 MB / 0.9011 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.005064/0.5646, allocations: 1.181 MB / 1.397 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5647, allocations: 11.98 kB / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.5659, allocations: 88.59 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.5663, allocations: 232 kB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5663, allocations: 16.06 kB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.5664, allocations: 27.98 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5676, allocations: 448.3 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5676, allocations: 4 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.5677, allocations: 4 kB / 1.398 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5677, allocations: 4 kB / 1.398 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5689, allocations: 0.597 MB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.5702, allocations: 0.8706 MB / 1.399 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.5711, allocations: 259.7 kB / 1.399 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.5712, allocations: 81.42 kB / 1.399 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.768/1.339, allocations: 35.03 MB / 1.434 GB, free: 196.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.339, allocations: 44.69 kB / 1.434 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/1.339, allocations: 0 / 1.434 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.001774/1.341, allocations: 418 kB / 1.434 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.341, allocations: 57.5 kB / 1.434 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.341, allocations: 146.4 kB / 1.434 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.341, allocations: 30.52 kB / 1.434 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/1.341, allocations: 107.9 kB / 1.434 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/1.341, allocations: 86.78 kB / 1.434 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.342, allocations: 88.86 kB / 1.434 GB, free: 196.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/1.342, allocations: 325.4 kB / 1.435 GB, free: 195.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/1.342, allocations: 85.06 kB / 1.435 GB, free: 195.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/1.342, allocations: 128 kB / 1.435 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/1.343, allocations: 219.4 kB / 1.435 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.343, allocations: 1 kB / 1.435 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007013/1.343, allocations: 296.7 kB / 1.435 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.343, allocations: 5.688 kB / 1.435 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.343, allocations: 6.188 kB / 1.435 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.343, allocations: 2.25 kB / 1.435 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/1.344, allocations: 84.61 kB / 1.436 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.344, allocations: 10.19 kB / 1.436 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/1.344, allocations: 23.83 kB / 1.436 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.344, allocations: 22.77 kB / 1.436 GB, free: 195.4 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.344, allocations: 129.7 kB / 1.436 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.344, allocations: 17.7 kB / 1.436 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/1.347, allocations: 2.345 MB / 1.438 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.347, allocations: 10 kB / 1.438 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.347, allocations: 3.938 kB / 1.438 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.347, allocations: 1.547 kB / 1.438 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.35, allocations: 3.423 MB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.35, allocations: 0.6562 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/1.35, allocations: 55.56 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.35, allocations: 5.75 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.35, allocations: 16.42 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.35, allocations: 1.656 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.35, allocations: 1.094 kB / 1.441 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.352, allocations: 1.373 MB / 1.443 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/1.353, allocations: 142.8 kB / 1.443 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.353, allocations: 2.312 kB / 1.443 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/1.353, allocations: 22.92 kB / 1.443 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/1.353, allocations: 18.08 kB / 1.443 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/1.353, allocations: 15.38 kB / 1.443 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000109/1.353, allocations: 105.9 kB / 1.443 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.91e-07/1.353, allocations: 0 / 1.443 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008222/1.361, allocations: 1.653 MB / 1.445 GB, free: 191 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009455/1.371, allocations: 1.909 MB / 1.447 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009902/1.372, allocations: 320.1 kB / 1.447 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.372, allocations: 4.5 kB / 1.447 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/1.372, allocations: 240.1 kB / 1.447 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/1.373, allocations: 65.06 kB / 1.447 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.375, allocations: 1.091 MB / 1.448 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.375, allocations: 0.7856 MB / 1.449 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007552/1.376, allocations: 411.8 kB / 1.449 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/1.376, allocations: 48.7 kB / 1.449 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/1.376, allocations: 0 / 1.449 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.05669/1.433, allocations: 57.22 MB / 1.505 GB, free: 137.2 MB / 0.9167 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)