Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001323/0.001323, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7563/0.7563, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 400.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.0008638, allocations: 82.38 kB / 483.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.647e-05, allocations: 2.375 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1979, allocations: 82.31 MB / 0.6404 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.576/1.774, allocations: 368.9 MB / 1.001 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.774, allocations: 88.91 kB / 1.001 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2077/1.982, allocations: 105.9 MB / 1.104 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.102e-06/1.982, allocations: 0 / 1.104 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.748e-05/1.982, allocations: 8 kB / 1.104 GB, free: 131.7 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.0009852/1.983, allocations: 0.6648 MB / 1.105 GB, free: 131 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.983, allocations: 8.031 kB / 1.105 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/1.984, allocations: 55.48 kB / 1.105 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/1.996, allocations: 6.808 MB / 1.112 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/1.996, allocations: 20.56 kB / 1.112 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/1.996, allocations: 32 kB / 1.112 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/1.997, allocations: 282.2 kB / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.997, allocations: 0 / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/1.997, allocations: 12 kB / 1.112 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/1.997, allocations: 11.94 kB / 1.112 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/1.997, allocations: 154.2 kB / 1.112 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/1.999, allocations: 1.505 MB / 1.114 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/1.999, allocations: 126.6 kB / 1.114 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/1.999, allocations: 48.86 kB / 1.114 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/1.999, allocations: 89.09 kB / 1.114 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/2, allocations: 115.3 kB / 1.114 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/2, allocations: 0 / 1.114 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003327/2, allocations: 154.6 kB / 1.114 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/2, allocations: 55.41 kB / 1.114 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/2, allocations: 311.5 kB / 1.114 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/2, allocations: 33.7 kB / 1.114 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/2.001, allocations: 211.9 kB / 1.115 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/2.001, allocations: 55.28 kB / 1.115 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/2.001, allocations: 4 kB / 1.115 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/2.001, allocations: 350.8 kB / 1.115 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/2.001, allocations: 52 kB / 1.115 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/2.001, allocations: 133.4 kB / 1.115 GB, free: 120 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/2.001, allocations: 93.67 kB / 1.115 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.001, allocations: 0 / 1.115 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000384/2.002, allocations: 284.8 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/2.002, allocations: 38.78 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/2.002, allocations: 4 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/2.002, allocations: 7.953 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/2.002, allocations: 63.91 kB / 1.116 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/2.002, allocations: 8.312 kB / 1.116 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/2.002, allocations: 39.67 kB / 1.116 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/2.002, allocations: 12 kB / 1.116 GB, free: 119.5 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 () * 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 8.226e-05/2.002, allocations: 120.9 kB / 1.116 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/2.002, allocations: 31.62 kB / 1.116 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/2.003, allocations: 172.6 kB / 1.116 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/2.003, allocations: 3.938 kB / 1.116 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.003, allocations: 3.953 kB / 1.116 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002483/2.003, allocations: 454 kB / 1.116 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/2.003, allocations: 357.3 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/2.003, allocations: 3.984 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/2.003, allocations: 39.91 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/2.003, allocations: 0 / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/2.003, allocations: 4 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/2.003, allocations: 4 kB / 1.117 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.003, allocations: 4 kB / 1.117 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/2.004, allocations: 244.5 kB / 1.117 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/2.004, allocations: 120.8 kB / 1.117 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/2.004, allocations: 7.984 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/2.004, allocations: 15.98 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/2.004, allocations: 23.97 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/2.004, allocations: 4 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002094/2.005, allocations: 250.1 kB / 1.117 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.005, allocations: 0 / 1.117 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004911/2.005, allocations: 144 kB / 1.118 GB, free: 117.3 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) * 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.0003544/2.005, allocations: 238.3 kB / 1.118 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002754/2.006, allocations: 187.8 kB / 1.118 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.006, allocations: 8.062 kB / 1.118 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/2.006, allocations: 57.47 kB / 1.118 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/2.007, allocations: 197.8 kB / 1.118 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/2.008, allocations: 0.5457 MB / 1.119 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/2.008, allocations: 0.8039 MB / 1.12 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002521/2.008, allocations: 59.25 kB / 1.12 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/2.008, allocations: 35.42 kB / 1.12 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/2.008, allocations: 0 / 1.12 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.01149/2.02, allocations: 7.338 MB / 1.127 GB, free: 107.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)