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.001023/0.001023, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 182 kB / 16.92 MB, free: 6.914 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9401/0.9401, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12.66 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1668, allocations: 82.3 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01423/0.1811, allocations: 13.89 MB / 0.6022 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1864, allocations: 3.617 MB / 0.6057 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.1871, allocations: 15.88 kB / 0.6057 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.1877, allocations: 167.1 kB / 0.6059 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1892, allocations: 0.5483 MB / 0.6064 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.2729/0.4621, allocations: 352.9 kB / 0.6067 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.464, allocations: 1.458 MB / 0.6082 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.4645, allocations: 262.5 kB / 0.6084 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.4649, allocations: 309.5 kB / 0.6087 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.4652, allocations: 300.8 kB / 0.609 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.4653, allocations: 12.44 kB / 0.609 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.4658, allocations: 246.4 kB / 0.6092 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.4659, allocations: 73.05 kB / 0.6093 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.466, allocations: 220.9 kB / 0.6095 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.4664, allocations: 441.5 kB / 0.6099 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4664, allocations: 1.281 kB / 0.61 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4665, allocations: 0 / 0.61 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4665, allocations: 0 / 0.61 GB, free: 34.73 MB / 0.4981 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.000887/0.4674, allocations: 0.681 MB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4674, allocations: 9.938 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4676, allocations: 53.72 kB / 0.6107 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.4682, allocations: 477.2 kB / 0.6111 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4682, allocations: 26.88 kB / 0.6112 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.4683, allocations: 27.78 kB / 0.6112 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.4688, allocations: 310.6 kB / 0.6115 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4688, allocations: 3.438 kB / 0.6115 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.4688, allocations: 13.31 kB / 0.6115 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4689, allocations: 9.688 kB / 0.6115 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.4693, allocations: 203.1 kB / 0.6117 GB, free: 33.88 MB / 0.4981 GB 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.001605/0.4709, allocations: 1.486 MB / 0.6131 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.4714, allocations: 167.8 kB / 0.6133 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.4716, allocations: 78.06 kB / 0.6134 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.4718, allocations: 91.56 kB / 0.6135 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.4722, allocations: 124.7 kB / 0.6136 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.306e-06/0.4722, allocations: 3.031 kB / 0.6136 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006464/0.4728, allocations: 262 kB / 0.6138 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4729, allocations: 54.97 kB / 0.6139 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.4732, allocations: 342.1 kB / 0.6142 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4732, allocations: 28.33 kB / 0.6142 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4734, allocations: 226.8 kB / 0.6145 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.4734, allocations: 49.2 kB / 0.6145 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.4735, allocations: 27.56 kB / 0.6145 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.4736, allocations: 342 kB / 0.6149 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4738, allocations: 76.12 kB / 0.6149 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.474, allocations: 150.7 kB / 0.6151 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.4743, allocations: 258.8 kB / 0.6153 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4743, allocations: 3.312 kB / 0.6153 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005094/0.4749, allocations: 321.6 kB / 0.6156 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4749, allocations: 31.58 kB / 0.6157 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4749, allocations: 2.969 kB / 0.6157 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4749, allocations: 6.719 kB / 0.6157 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4751, allocations: 66.38 kB / 0.6157 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4752, allocations: 6.125 kB / 0.6157 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.4754, allocations: 38.59 kB / 0.6158 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.4755, allocations: 8.719 kB / 0.6158 GB, free: 31.62 MB / 0.4981 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 (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.0001323/0.4756, allocations: 157.4 kB / 0.6159 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.4757, allocations: 36.97 kB / 0.616 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.4761, allocations: 209.3 kB / 0.6162 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4761, allocations: 3.375 kB / 0.6162 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4761, allocations: 0 / 0.6162 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003735/0.4765, allocations: 499.6 kB / 0.6167 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4769, allocations: 348 kB / 0.617 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4769, allocations: 2.906 kB / 0.617 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.477, allocations: 33.84 kB / 0.617 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.477, allocations: 3.531 kB / 0.617 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4771, allocations: 13.25 kB / 0.617 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4771, allocations: 2.969 kB / 0.617 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4771, allocations: 0 / 0.617 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.4777, allocations: 312.3 kB / 0.6173 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.4778, allocations: 127 kB / 0.6175 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.4778, allocations: 13.34 kB / 0.6175 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.478, allocations: 23.06 kB / 0.6175 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.4781, allocations: 13.8 kB / 0.6175 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.4781, allocations: 13.27 kB / 0.6175 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001817/0.4783, allocations: 241.7 kB / 0.6178 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4783, allocations: 0 / 0.6178 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003955/0.4787, allocations: 114.5 kB / 0.6179 GB, free: 30.49 MB / 0.4981 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 (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.0002595/0.479, allocations: 185 kB / 0.618 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.4794, allocations: 237.6 kB / 0.6183 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4795, allocations: 1.781 kB / 0.6183 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.4796, allocations: 79.2 kB / 0.6183 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4806, allocations: 196.7 kB / 0.6185 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4818, allocations: 0.9569 MB / 0.6195 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.482, allocations: 0.7907 MB / 0.6202 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.4821, allocations: 44.39 kB / 0.6203 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.4821, allocations: 0 / 0.6203 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.007245/0.4894, allocations: 5.908 MB / 0.626 GB, free: 28.5 MB / 0.4981 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)