Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.7 MB / 302.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 172.9 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009806/0.0009805, allocations: 90.77 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.618e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.461, allocations: 396 MB / 1.367 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.461, allocations: 85.05 kB / 1.367 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.9204/2.382, allocations: 103.7 MB / 1.468 GB, free: 273.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/2.382, allocations: 0 / 1.468 GB, free: 273.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.386e-05/2.382, allocations: 10.41 kB / 1.468 GB, free: 273.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00158/2.383, allocations: 0.6494 MB / 1.469 GB, free: 273.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.383, allocations: 9.188 kB / 1.469 GB, free: 273.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/2.384, allocations: 47.58 kB / 1.469 GB, free: 273.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/2.4, allocations: 6.677 MB / 1.475 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/2.4, allocations: 17.91 kB / 1.475 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/2.4, allocations: 27.44 kB / 1.475 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/2.401, allocations: 284.6 kB / 1.475 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/2.401, allocations: 7.125 kB / 1.475 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/2.401, allocations: 11.28 kB / 1.475 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/2.401, allocations: 10.19 kB / 1.475 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/2.401, allocations: 151.4 kB / 1.476 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/2.404, allocations: 1.496 MB / 1.477 GB, free: 269.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/2.404, allocations: 130.1 kB / 1.477 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/2.405, allocations: 58.7 kB / 1.477 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/2.405, allocations: 87.03 kB / 1.477 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/2.405, allocations: 113.1 kB / 1.477 GB, free: 269.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 4.749e-06/2.405, allocations: 0 / 1.477 GB, free: 269.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0004871/2.406, allocations: 150.5 kB / 1.478 GB, free: 269.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/2.406, allocations: 58.5 kB / 1.478 GB, free: 269.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/2.406, allocations: 315.6 kB / 1.478 GB, free: 269.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/2.406, allocations: 32.89 kB / 1.478 GB, free: 269 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/2.406, allocations: 211.5 kB / 1.478 GB, free: 268.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/2.406, allocations: 53.08 kB / 1.478 GB, free: 268.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/2.406, allocations: 4 kB / 1.478 GB, free: 268.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001697/2.407, allocations: 346.4 kB / 1.479 GB, free: 268.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/2.407, allocations: 49.22 kB / 1.479 GB, free: 268.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/2.407, allocations: 132.5 kB / 1.479 GB, free: 268.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/2.407, allocations: 98.75 kB / 1.479 GB, free: 268.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/2.407, allocations: 3.938 kB / 1.479 GB, free: 268.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005144/2.408, allocations: 276.5 kB / 1.479 GB, free: 268.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/2.408, allocations: 32.23 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/2.408, allocations: 7.219 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/2.408, allocations: 3.188 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/2.408, allocations: 68.44 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/2.408, allocations: 7.281 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/2.408, allocations: 41.22 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/2.408, allocations: 14 kB / 1.479 GB, free: 268.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001215/2.409, allocations: 121.3 kB / 1.479 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/2.409, allocations: 34.97 kB / 1.479 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/2.409, allocations: 162.3 kB / 1.48 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/2.409, allocations: 0 / 1.48 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/2.409, allocations: 3.953 kB / 1.48 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003255/2.409, allocations: 456.2 kB / 1.48 GB, free: 267.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/2.41, allocations: 358.6 kB / 1.48 GB, free: 267.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.41, allocations: 4 kB / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/2.41, allocations: 32.47 kB / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/2.41, allocations: 3.281 kB / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/2.41, allocations: 7.938 kB / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/2.41, allocations: 0 / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.41, allocations: 0 / 1.48 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/2.411, allocations: 240.4 kB / 1.481 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/2.411, allocations: 132.7 kB / 1.481 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/2.411, allocations: 7.656 kB / 1.481 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/2.411, allocations: 16.27 kB / 1.481 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/2.411, allocations: 21.41 kB / 1.481 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/2.411, allocations: 9.828 kB / 1.481 GB, free: 266.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000278/2.412, allocations: 243.6 kB / 1.481 GB, free: 266.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/2.412, allocations: 0 / 1.481 GB, free: 266.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006983/2.412, allocations: 147.5 kB / 1.481 GB, free: 266.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006564/2.413, allocations: 243.1 kB / 1.481 GB, free: 266.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003774/2.413, allocations: 196.7 kB / 1.482 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/2.413, allocations: 0 / 1.482 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/2.414, allocations: 58.61 kB / 1.482 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/2.415, allocations: 186.7 kB / 1.482 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/2.416, allocations: 0.5291 MB / 1.482 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/2.416, allocations: 0.798 MB / 1.483 GB, free: 265.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003906/2.417, allocations: 62.97 kB / 1.483 GB, free: 265.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/2.417, allocations: 33.66 kB / 1.483 GB, free: 265.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/2.417, allocations: 3.938 kB / 1.483 GB, free: 265.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01705/2.434, allocations: 7.349 MB / 1.49 GB, free: 264.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)