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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009351, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.4 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 8.812 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3393, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01265/0.352, allocations: 13.2 MB / 0.596 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3569, allocations: 3.407 MB / 0.5993 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.3573, allocations: 14.31 kB / 0.5993 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.3579, allocations: 148.5 kB / 0.5994 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.359, allocations: 492.9 kB / 0.5999 GB, free: 7.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.3598, allocations: 291.2 kB / 0.6002 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.3612, allocations: 1.246 MB / 0.6014 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.3615, allocations: 237 kB / 0.6016 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.3619, allocations: 314.5 kB / 0.6019 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.3623, allocations: 288.8 kB / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.3624, allocations: 12.84 kB / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.3628, allocations: 142.4 kB / 0.6024 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.3629, allocations: 78.12 kB / 0.6024 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.363, allocations: 100.3 kB / 0.6025 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.3634, allocations: 426.5 kB / 0.6029 GB, free: 6.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3634, allocations: 0 / 0.6029 GB, free: 6.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.3634, allocations: 0 / 0.6029 GB, free: 6.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3635, allocations: 3.938 kB / 0.6029 GB, free: 6.102 MB / 446.1 MB 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.0009697/0.3644, allocations: 0.683 MB / 0.6036 GB, free: 5.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.3645, allocations: 9.094 kB / 0.6036 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3646, allocations: 51.98 kB / 0.6037 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.3653, allocations: 460.6 kB / 0.6041 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3654, allocations: 22.72 kB / 0.6041 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3654, allocations: 39.03 kB / 0.6042 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.366, allocations: 307.5 kB / 0.6045 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.366, allocations: 1.219 kB / 0.6045 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3661, allocations: 18.03 kB / 0.6045 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3661, allocations: 11.61 kB / 0.6045 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.3665, allocations: 203.3 kB / 0.6047 GB, free: 4.719 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3682, allocations: 1.48 MB / 0.6061 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3686, allocations: 171.4 kB / 0.6063 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.3688, allocations: 82.53 kB / 0.6064 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.3689, allocations: 83.58 kB / 0.6064 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.3692, allocations: 131.5 kB / 0.6066 GB, free: 3.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 5.24e-06/0.3693, allocations: 5.203 kB / 0.6066 GB, free: 3.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005979/0.3699, allocations: 251.2 kB / 0.6068 GB, free: 2.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.3699, allocations: 57.92 kB / 0.6069 GB, free: 2.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3703, allocations: 337.3 kB / 0.6072 GB, free: 2.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3703, allocations: 26.89 kB / 0.6072 GB, free: 2.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3704, allocations: 221.2 kB / 0.6074 GB, free: 2.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.3705, allocations: 54.84 kB / 0.6075 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.3705, allocations: 5.312 kB / 0.6075 GB, free: 2.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3706, allocations: 345.1 kB / 0.6078 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3708, allocations: 73.05 kB / 0.6079 GB, free: 1.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3711, allocations: 153.9 kB / 0.608 GB, free: 1.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3713, allocations: 116 kB / 0.6081 GB, free: 1.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3713, allocations: 1.438 kB / 0.6081 GB, free: 1.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005775/0.3719, allocations: 323.7 kB / 0.6085 GB, free: 1.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.3719, allocations: 36.92 kB / 0.6085 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3719, allocations: 2.938 kB / 0.6085 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.372, allocations: 3.906 kB / 0.6085 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.3722, allocations: 60.91 kB / 0.6086 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3722, allocations: 7.391 kB / 0.6086 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.3725, allocations: 42.45 kB / 0.6086 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3725, allocations: 12.47 kB / 0.6086 GB, free: 1.477 MB / 446.1 MB 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.0001498/0.3727, allocations: 161.5 kB / 0.6088 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3727, allocations: 35.95 kB / 0.6088 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.3732, allocations: 213.3 kB / 0.609 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3732, allocations: 1.406 kB / 0.609 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3732, allocations: 3.984 kB / 0.609 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004535/0.3737, allocations: 493.9 kB / 0.6095 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.3741, allocations: 350.6 kB / 0.6098 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3741, allocations: 4 kB / 0.6098 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.3743, allocations: 37.39 kB / 0.6099 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3743, allocations: 4.984 kB / 0.6099 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3743, allocations: 1.969 kB / 0.6099 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3743, allocations: 1.031 kB / 0.6099 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3743, allocations: 0 / 0.6099 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.3749, allocations: 302.3 kB / 0.6101 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.375, allocations: 129.4 kB / 0.6103 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.3751, allocations: 2.812 kB / 0.6103 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3753, allocations: 34.16 kB / 0.6103 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.3754, allocations: 11.95 kB / 0.6103 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3754, allocations: 13.58 kB / 0.6103 GB, free: 12 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.3757, allocations: 235.5 kB / 0.6106 GB, free: 15.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 0 / 0.6106 GB, free: 15.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3761, allocations: 109.8 kB / 0.6107 GB, free: 15.84 MB / 462.1 MB 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.0002425/0.3763, allocations: 177.2 kB / 0.6108 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.3768, allocations: 236.6 kB / 0.6111 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3768, allocations: 1.219 kB / 0.6111 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.377, allocations: 81.17 kB / 0.6111 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.3779, allocations: 206.4 kB / 0.6113 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3793, allocations: 0.9647 MB / 0.6123 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3796, allocations: 0.7914 MB / 0.613 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.3798, allocations: 66.97 kB / 0.6131 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.3799, allocations: 34.45 kB / 0.6131 GB, free: 13.92 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3799, allocations: 0 / 0.6131 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Templates: time 0.01081/0.3907, allocations: 6.319 MB / 0.6193 GB, free: 10.78 MB / 462.1 MB 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)