Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01083/0.01083, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7505/0.7505, allocations: 132.3 MB / 148.1 MB, free: 280 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.1 MB / 403.2 MB, free: 6.801 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.0009508/0.0009508, allocations: 93.33 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 0.5641 GB, free: 2.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4785, allocations: 81.58 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8587/1.337, allocations: 368.7 MB / 1.004 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/1.338, allocations: 85.45 kB / 1.004 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7136/2.051, allocations: 106.2 MB / 1.108 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/2.051, allocations: 4 kB / 1.108 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.685e-05/2.051, allocations: 8 kB / 1.108 GB, free: 225.3 MB / 0.6823 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.001298/2.053, allocations: 0.7291 MB / 1.108 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/2.053, allocations: 12.02 kB / 1.108 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/2.053, allocations: 51.48 kB / 1.108 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/2.066, allocations: 6.865 MB / 1.115 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/2.066, allocations: 20.56 kB / 1.115 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/2.066, allocations: 27.98 kB / 1.115 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/2.067, allocations: 310.2 kB / 1.115 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/2.067, allocations: 0 / 1.115 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/2.067, allocations: 15.28 kB / 1.116 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/2.067, allocations: 7.984 kB / 1.116 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/2.067, allocations: 202 kB / 1.116 GB, free: 217 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/2.069, allocations: 1.495 MB / 1.117 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/2.07, allocations: 166.6 kB / 1.117 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/2.07, allocations: 89.09 kB / 1.117 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/2.07, allocations: 136.9 kB / 1.118 GB, free: 215 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.897e-06/2.07, allocations: 0 / 1.118 GB, free: 215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006877/2.071, allocations: 257 kB / 1.118 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/2.071, allocations: 55.41 kB / 1.118 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/2.071, allocations: 312.9 kB / 1.118 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/2.071, allocations: 33.7 kB / 1.118 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/2.072, allocations: 219.6 kB / 1.118 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/2.072, allocations: 50.02 kB / 1.118 GB, free: 214 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/2.072, allocations: 4 kB / 1.118 GB, free: 214 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001149/2.072, allocations: 342.8 kB / 1.119 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/2.072, allocations: 77.7 kB / 1.119 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/2.072, allocations: 149.4 kB / 1.119 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/2.072, allocations: 117.6 kB / 1.119 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.072, allocations: 0 / 1.119 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005534/2.073, allocations: 325.7 kB / 1.119 GB, free: 213 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/2.073, allocations: 33.69 kB / 1.119 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.073, allocations: 4 kB / 1.119 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/2.073, allocations: 11.94 kB / 1.119 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/2.073, allocations: 59.91 kB / 1.12 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/2.073, allocations: 4 kB / 1.12 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/2.074, allocations: 47.83 kB / 1.12 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/2.074, allocations: 8 kB / 1.12 GB, free: 212.8 MB / 0.6823 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.00017/2.074, allocations: 157.8 kB / 1.12 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/2.074, allocations: 31.62 kB / 1.12 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/2.074, allocations: 214 kB / 1.12 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/2.074, allocations: 7.953 kB / 1.12 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.074, allocations: 0 / 1.12 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000487/2.075, allocations: 0.4918 MB / 1.12 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/2.075, allocations: 348.2 kB / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/2.075, allocations: 4 kB / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/2.076, allocations: 35.91 kB / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/2.076, allocations: 0 / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/2.076, allocations: 8 kB / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/2.076, allocations: 0 / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.076, allocations: 3.953 kB / 1.121 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/2.076, allocations: 301.8 kB / 1.121 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/2.076, allocations: 132.7 kB / 1.121 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/2.076, allocations: 8 kB / 1.121 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/2.077, allocations: 23.91 kB / 1.121 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/2.077, allocations: 19.97 kB / 1.121 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/2.077, allocations: 7.953 kB / 1.121 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002309/2.077, allocations: 251.2 kB / 1.122 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.077, allocations: 0 / 1.122 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005684/2.078, allocations: 140 kB / 1.122 GB, free: 210.5 MB / 0.6823 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.000468/2.078, allocations: 233.8 kB / 1.122 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005187/2.079, allocations: 245.3 kB / 1.122 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.079, allocations: 0 / 1.122 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/2.079, allocations: 71.95 kB / 1.122 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/2.08, allocations: 193.4 kB / 1.122 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/2.081, allocations: 0.9598 MB / 1.123 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/2.082, allocations: 0.8001 MB / 1.124 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002905/2.082, allocations: 59.27 kB / 1.124 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/2.082, allocations: 39.42 kB / 1.124 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/2.082, allocations: 0 / 1.124 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01198/2.094, allocations: 7.18 MB / 1.131 GB, free: 200.7 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)