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.006414/0.006414, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7537/0.7537, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.532/1.532, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.000916/0.0009164, allocations: 89.77 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004857, allocations: 19.94 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4974, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8756/1.373, allocations: 369 MB / 1.01 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.373, allocations: 86.52 kB / 1.01 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7226/2.096, allocations: 106.2 MB / 1.114 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/2.096, allocations: 0 / 1.114 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.727e-05/2.096, allocations: 8 kB / 1.114 GB, free: 215.2 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.001173/2.097, allocations: 0.7302 MB / 1.114 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/2.097, allocations: 12.03 kB / 1.114 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/2.097, allocations: 47.48 kB / 1.114 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/2.11, allocations: 6.871 MB / 1.121 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/2.11, allocations: 20.56 kB / 1.121 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/2.11, allocations: 24 kB / 1.121 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/2.111, allocations: 310.2 kB / 1.121 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/2.111, allocations: 3.938 kB / 1.121 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/2.111, allocations: 12 kB / 1.121 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/2.111, allocations: 12 kB / 1.121 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/2.111, allocations: 198.1 kB / 1.122 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/2.113, allocations: 1.498 MB / 1.123 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/2.113, allocations: 170.6 kB / 1.123 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/2.114, allocations: 81.11 kB / 1.123 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/2.114, allocations: 144.6 kB / 1.124 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/2.114, allocations: 0 / 1.124 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006018/2.115, allocations: 243.1 kB / 1.124 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/2.115, allocations: 59.41 kB / 1.124 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/2.115, allocations: 320.8 kB / 1.124 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/2.115, allocations: 29.64 kB / 1.124 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/2.115, allocations: 226.5 kB / 1.124 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/2.115, allocations: 55.28 kB / 1.124 GB, free: 204 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/2.115, allocations: 4 kB / 1.124 GB, free: 204 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/2.115, allocations: 338.8 kB / 1.125 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/2.115, allocations: 81.45 kB / 1.125 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/2.116, allocations: 145.3 kB / 1.125 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/2.116, allocations: 125.6 kB / 1.125 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/2.116, allocations: 0 / 1.125 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005046/2.116, allocations: 321.6 kB / 1.125 GB, free: 203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/2.116, allocations: 33.7 kB / 1.125 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/2.116, allocations: 0 / 1.125 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/2.116, allocations: 4 kB / 1.125 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/2.117, allocations: 67.84 kB / 1.125 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/2.117, allocations: 7.938 kB / 1.125 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/2.117, allocations: 47.8 kB / 1.126 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/2.117, allocations: 8 kB / 1.126 GB, free: 202.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.0001441/2.117, allocations: 157.8 kB / 1.126 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/2.117, allocations: 31.62 kB / 1.126 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/2.118, allocations: 208.4 kB / 1.126 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/2.118, allocations: 4 kB / 1.126 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.118, allocations: 3.953 kB / 1.126 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004122/2.118, allocations: 491.7 kB / 1.126 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/2.118, allocations: 361.2 kB / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/2.118, allocations: 0 / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/2.119, allocations: 31.98 kB / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/2.119, allocations: 4 kB / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/2.119, allocations: 0 / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/2.119, allocations: 0 / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.119, allocations: 3.984 kB / 1.127 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/2.119, allocations: 306.6 kB / 1.127 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/2.119, allocations: 132.6 kB / 1.127 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/2.119, allocations: 4 kB / 1.127 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/2.12, allocations: 19.98 kB / 1.127 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/2.12, allocations: 19.97 kB / 1.127 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/2.12, allocations: 15.92 kB / 1.127 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002015/2.12, allocations: 247.2 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.21e-07/2.12, allocations: 0 / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005152/2.12, allocations: 147.8 kB / 1.128 GB, free: 200.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.0004003/2.121, allocations: 250.8 kB / 1.128 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004464/2.121, allocations: 231.2 kB / 1.128 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.121, allocations: 0.625 kB / 1.128 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/2.122, allocations: 79.89 kB / 1.128 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/2.122, allocations: 187.9 kB / 1.128 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/2.124, allocations: 0.9617 MB / 1.129 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/2.124, allocations: 0.8001 MB / 1.13 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002615/2.124, allocations: 75.11 kB / 1.13 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/2.124, allocations: 31.44 kB / 1.13 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.31e-07/2.124, allocations: 3.938 kB / 1.13 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01153/2.136, allocations: 7.183 MB / 1.137 GB, free: 190.7 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)