Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 287.5 MB / 303.2 MB, free: 8.301 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.001403/0.001403, allocations: 176.7 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 96.27 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000646/0.0006462, allocations: 12.16 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2404, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.483, allocations: 395 MB / 1.365 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.483, allocations: 92.58 kB / 1.365 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.499, allocations: 103.3 MB / 1.466 GB, free: 312.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.023e-06/2.499, allocations: 4.844 kB / 1.466 GB, free: 312.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.398e-05/2.499, allocations: 11.19 kB / 1.466 GB, free: 312.2 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001737/2.501, allocations: 0.7165 MB / 1.467 GB, free: 311.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/2.501, allocations: 9 kB / 1.467 GB, free: 311.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/2.501, allocations: 49.25 kB / 1.467 GB, free: 311.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/2.52, allocations: 6.078 MB / 1.473 GB, free: 308.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/2.521, allocations: 20.69 kB / 1.473 GB, free: 308.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/2.521, allocations: 32.36 kB / 1.473 GB, free: 308.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/2.521, allocations: 299.6 kB / 1.473 GB, free: 307.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/2.521, allocations: 15.53 kB / 1.473 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/2.522, allocations: 11.86 kB / 1.473 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/2.522, allocations: 7.812 kB / 1.473 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/2.522, allocations: 197.3 kB / 1.473 GB, free: 307.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/2.525, allocations: 1.481 MB / 1.475 GB, free: 306.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/2.526, allocations: 162.7 kB / 1.475 GB, free: 306.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/2.526, allocations: 79 kB / 1.475 GB, free: 306.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/2.526, allocations: 87.91 kB / 1.475 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004344/2.527, allocations: 132.1 kB / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.865e-06/2.527, allocations: 0 / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.001021/2.528, allocations: 245.2 kB / 1.475 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/2.528, allocations: 67.31 kB / 1.476 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/2.528, allocations: 322.1 kB / 1.476 GB, free: 305.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/2.528, allocations: 29.58 kB / 1.476 GB, free: 305.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/2.528, allocations: 215 kB / 1.476 GB, free: 305.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/2.528, allocations: 53.31 kB / 1.476 GB, free: 305.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/2.528, allocations: 4 kB / 1.476 GB, free: 305.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/2.529, allocations: 346.3 kB / 1.476 GB, free: 305 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/2.529, allocations: 76.83 kB / 1.477 GB, free: 305 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/2.529, allocations: 159 kB / 1.477 GB, free: 304.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/2.53, allocations: 257.6 kB / 1.477 GB, free: 304.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.53, allocations: 0 / 1.477 GB, free: 304.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000938/2.531, allocations: 323.8 kB / 1.477 GB, free: 304.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/2.531, allocations: 36.33 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.531, allocations: 3.781 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/2.531, allocations: 7.578 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/2.531, allocations: 61.81 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/2.531, allocations: 11.86 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/2.532, allocations: 39.08 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/2.532, allocations: 19.22 kB / 1.477 GB, free: 304.4 MB / 0.9323 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 () * Number of clocked 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.0003008/2.532, allocations: 158.6 kB / 1.478 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/2.532, allocations: 38.83 kB / 1.478 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/2.533, allocations: 206.5 kB / 1.478 GB, free: 304.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/2.533, allocations: 0 / 1.478 GB, free: 304.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.533, allocations: 0 / 1.478 GB, free: 304.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006508/2.534, allocations: 493.1 kB / 1.478 GB, free: 303.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/2.535, allocations: 357.3 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.535, allocations: 8 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/2.535, allocations: 31.17 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/2.535, allocations: 0 / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/2.535, allocations: 7.984 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/2.535, allocations: 0 / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.535, allocations: 3.938 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/2.536, allocations: 304.1 kB / 1.479 GB, free: 303.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/2.536, allocations: 128.2 kB / 1.479 GB, free: 303 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/2.536, allocations: 4 kB / 1.479 GB, free: 303 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/2.537, allocations: 18.98 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/2.537, allocations: 19.28 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/2.537, allocations: 7.406 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003614/2.537, allocations: 237.9 kB / 1.479 GB, free: 302.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/2.537, allocations: 0 / 1.479 GB, free: 302.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008283/2.538, allocations: 131.8 kB / 1.479 GB, free: 302.7 MB / 0.9323 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) * Number of clocked states: 0 () * 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.0005116/2.539, allocations: 224 kB / 1.48 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008058/2.54, allocations: 239.2 kB / 1.48 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.54, allocations: 0 / 1.48 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/2.54, allocations: 75.78 kB / 1.48 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/2.542, allocations: 211.7 kB / 1.48 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/2.544, allocations: 0.9443 MB / 1.481 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/2.544, allocations: 0.7872 MB / 1.482 GB, free: 300.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005198/2.545, allocations: 60.89 kB / 1.482 GB, free: 300.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/2.545, allocations: 33.7 kB / 1.482 GB, free: 300.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.704e-06/2.545, allocations: 3.781 kB / 1.482 GB, free: 300.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.01914/2.564, allocations: 6.926 MB / 1.489 GB, free: 297.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)