Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3355/0.3355, allocations: 54.41 MB / 61.89 MB, free: 13.71 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 184.1 kB / 75.61 MB, free: 0.7539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.755/1.755, allocations: 194.3 MB / 283.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001663/0.001662, allocations: 115.6 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.519e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4214, allocations: 57.65 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8214/1.243, allocations: 335.6 MB / 0.78 GB, free: 5.816 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.243, allocations: 84.33 kB / 0.7801 GB, free: 5.773 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5727/1.816, allocations: 73.26 MB / 0.8517 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.976e-06/1.816, allocations: 0 / 0.8517 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.333e-05/1.816, allocations: 6.5 kB / 0.8517 GB, free: 163.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.002113/1.818, allocations: 0.6456 MB / 0.8523 GB, free: 163 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.391e-05/1.818, allocations: 8.531 kB / 0.8523 GB, free: 163 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/1.819, allocations: 46.3 kB / 0.8523 GB, free: 163 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/1.834, allocations: 6.302 MB / 0.8585 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/1.834, allocations: 7.219 kB / 0.8585 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.834, allocations: 18.52 kB / 0.8585 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003877/1.834, allocations: 138.3 kB / 0.8587 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/1.835, allocations: 240.3 kB / 0.8589 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.835, allocations: 0 / 0.8589 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/1.835, allocations: 3.938 kB / 0.8589 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.835, allocations: 3.875 kB / 0.8589 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/1.837, allocations: 1.387 MB / 0.8603 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/1.837, allocations: 127.5 kB / 0.8604 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/1.837, allocations: 72.5 kB / 0.8604 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.838, allocations: 0.7733 MB / 0.8612 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/1.838, allocations: 99.23 kB / 0.8613 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/1.838, allocations: 4 kB / 0.8613 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004261/1.839, allocations: 147.7 kB / 0.8614 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.839, allocations: 59.23 kB / 0.8615 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/1.839, allocations: 265.9 kB / 0.8617 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/1.839, allocations: 25.7 kB / 0.8618 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/1.839, allocations: 210.1 kB / 0.862 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/1.839, allocations: 45.38 kB / 0.862 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/1.839, allocations: 0 / 0.862 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.839, allocations: 351.3 kB / 0.8623 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/1.84, allocations: 51.12 kB / 0.8624 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/1.84, allocations: 115.7 kB / 0.8625 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/1.84, allocations: 67.92 kB / 0.8626 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.84, allocations: 3.5 kB / 0.8626 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004/1.84, allocations: 222 kB / 0.8628 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.84, allocations: 33.48 kB / 0.8628 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.84, allocations: 3.812 kB / 0.8628 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.84, allocations: 3.344 kB / 0.8628 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/1.841, allocations: 56.78 kB / 0.8629 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.841, allocations: 8.406 kB / 0.8629 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.841, allocations: 40.73 kB / 0.8629 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.841, allocations: 7.281 kB / 0.8629 GB, free: 157.4 MB / 0.4948 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 (28): * Single equations (assignments): 27 * 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 8.986e-05/1.841, allocations: 118.9 kB / 0.863 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/1.841, allocations: 29.89 kB / 0.8631 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/1.841, allocations: 151.2 kB / 0.8632 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/1.841, allocations: 0 / 0.8632 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.841, allocations: 7.938 kB / 0.8632 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002572/1.842, allocations: 444 kB / 0.8637 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/1.842, allocations: 342.2 kB / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.842, allocations: 0 / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/1.842, allocations: 38.75 kB / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.842, allocations: 3.938 kB / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/1.842, allocations: 0 / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.842, allocations: 3.953 kB / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.842, allocations: 0 / 0.864 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/1.843, allocations: 250.8 kB / 0.8643 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.843, allocations: 127.5 kB / 0.8644 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/1.843, allocations: 7.891 kB / 0.8644 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.843, allocations: 23 kB / 0.8644 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/1.843, allocations: 18.73 kB / 0.8644 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/1.843, allocations: 7.938 kB / 0.8644 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001858/1.844, allocations: 210 kB / 0.8646 GB, free: 156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.844, allocations: 0 / 0.8646 GB, free: 156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005123/1.844, allocations: 132.8 kB / 0.8648 GB, free: 156 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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.0004189/1.845, allocations: 231.6 kB / 0.865 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002605/1.845, allocations: 179.2 kB / 0.8652 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.845, allocations: 0.625 kB / 0.8652 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/1.845, allocations: 62.06 kB / 0.8652 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/1.846, allocations: 185.3 kB / 0.8654 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.847, allocations: 0.5372 MB / 0.8659 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/1.847, allocations: 0.7921 MB / 0.8667 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002892/1.847, allocations: 58.94 kB / 0.8667 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/1.848, allocations: 34.3 kB / 0.8668 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/1.848, allocations: 4 kB / 0.8668 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.01118/1.859, allocations: 5.982 MB / 0.8726 GB, free: 152.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)