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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 105 kB / 16.35 MB, free: 5.824 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.001026/0.001026, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8166/0.8166, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.341, allocations: 80.9 MB / 0.5857 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01193/0.353, allocations: 14.44 MB / 0.5998 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.3575, allocations: 3.638 MB / 0.6034 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.358, allocations: 20.81 kB / 0.6034 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.3587, allocations: 199.9 kB / 0.6036 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.36, allocations: 0.5905 MB / 0.6042 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.3609, allocations: 394.5 kB / 0.6046 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.3619, allocations: 1.092 MB / 0.6056 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.3622, allocations: 320.8 kB / 0.6059 GB, free: 6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000765/0.363, allocations: 391.7 kB / 0.6063 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.3633, allocations: 303.3 kB / 0.6066 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.3634, allocations: 32 kB / 0.6066 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.3638, allocations: 261 kB / 0.6069 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3639, allocations: 91.67 kB / 0.607 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3641, allocations: 219 kB / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.3647, allocations: 0.5976 MB / 0.6078 GB, free: 4.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3647, allocations: 1.281 kB / 0.6078 GB, free: 4.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3647, allocations: 0 / 0.6078 GB, free: 4.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3647, allocations: 3.938 kB / 0.6078 GB, free: 4.133 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.0009967/0.3657, allocations: 0.7437 MB / 0.6085 GB, free: 3.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3658, allocations: 9.109 kB / 0.6085 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3659, allocations: 57.23 kB / 0.6086 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.3666, allocations: 463.8 kB / 0.609 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3666, allocations: 24.5 kB / 0.609 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.3666, allocations: 24 kB / 0.609 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.3671, allocations: 312 kB / 0.6093 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3671, allocations: 1.688 kB / 0.6093 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3672, allocations: 12 kB / 0.6094 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.3672, allocations: 8 kB / 0.6094 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.3676, allocations: 198.9 kB / 0.6095 GB, free: 2.195 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.001413/0.369, allocations: 1.479 MB / 0.611 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3694, allocations: 151.4 kB / 0.6111 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.3696, allocations: 73.47 kB / 0.6112 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3697, allocations: 83.3 kB / 0.6113 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.37, allocations: 131.2 kB / 0.6114 GB, free: 124 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.37, allocations: 3.594 kB / 0.6114 GB, free: 124 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006407/0.3707, allocations: 230.1 kB / 0.6116 GB, free: 15.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.3707, allocations: 55.41 kB / 0.6117 GB, free: 15.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.3712, allocations: 353.6 kB / 0.612 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.3712, allocations: 29.7 kB / 0.6121 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3714, allocations: 223.5 kB / 0.6123 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.3714, allocations: 47.36 kB / 0.6123 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3716, allocations: 53.61 kB / 0.6124 GB, free: 15.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3717, allocations: 350.7 kB / 0.6127 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3719, allocations: 63.95 kB / 0.6128 GB, free: 14.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3722, allocations: 153.6 kB / 0.6129 GB, free: 14.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.3726, allocations: 239 kB / 0.6131 GB, free: 14.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3726, allocations: 0 / 0.6131 GB, free: 14.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006041/0.3732, allocations: 317 kB / 0.6134 GB, free: 13.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.3733, allocations: 37.62 kB / 0.6135 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3733, allocations: 4 kB / 0.6135 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3733, allocations: 4 kB / 0.6135 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3736, allocations: 60.22 kB / 0.6135 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3736, allocations: 4 kB / 0.6135 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.3739, allocations: 39.67 kB / 0.6136 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3739, allocations: 8 kB / 0.6136 GB, free: 13.75 MB / 462.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.3741, allocations: 162.6 kB / 0.6137 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3742, allocations: 39.55 kB / 0.6138 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.3746, allocations: 205.9 kB / 0.614 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3746, allocations: 0 / 0.614 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3747, allocations: 0 / 0.614 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005124/0.3752, allocations: 487.7 kB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.3756, allocations: 353.4 kB / 0.6148 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3756, allocations: 0 / 0.6148 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3758, allocations: 31.92 kB / 0.6148 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3758, allocations: 3.938 kB / 0.6148 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3759, allocations: 7.984 kB / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3759, allocations: 4 kB / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3759, allocations: 0 / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.3765, allocations: 281.2 kB / 0.6151 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3766, allocations: 124.7 kB / 0.6152 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.3767, allocations: 7.984 kB / 0.6152 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3769, allocations: 19.92 kB / 0.6152 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.377, allocations: 15.98 kB / 0.6153 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.377, allocations: 7.984 kB / 0.6153 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.3773, allocations: 255.1 kB / 0.6155 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3773, allocations: 0 / 0.6155 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.3778, allocations: 124.1 kB / 0.6156 GB, free: 11.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004134/0.3782, allocations: 199.1 kB / 0.6158 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.3787, allocations: 234.1 kB / 0.616 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3788, allocations: 0 / 0.616 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.3789, allocations: 71.89 kB / 0.6161 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.3798, allocations: 218.2 kB / 0.6163 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3812, allocations: 0.723 MB / 0.617 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3817, allocations: 0.7957 MB / 0.6178 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.3819, allocations: 80.42 kB / 0.6179 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.382, allocations: 31.42 kB / 0.6179 GB, free: 9.098 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.382, allocations: 0 / 0.6179 GB, free: 9.098 MB / 462.1 MB Notification: Performance of Templates: time 0.01259/0.3946, allocations: 7.143 MB / 0.6249 GB, free: 2.07 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)