Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001854/0.001854, allocations: 192 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 251.7 MB / 0.5088 GB, free: 3.277 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5127, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01533/0.5281, allocations: 14.41 MB / 0.7379 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005255/0.5334, allocations: 3.644 MB / 0.7414 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.534, allocations: 19.88 kB / 0.7414 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.5347, allocations: 167 kB / 0.7416 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.5361, allocations: 0.5327 MB / 0.7421 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.537, allocations: 329.8 kB / 0.7424 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.5387, allocations: 1.438 MB / 0.7438 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.5391, allocations: 273.5 kB / 0.7441 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.5396, allocations: 318.7 kB / 0.7444 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.54, allocations: 310.6 kB / 0.7447 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.5401, allocations: 20 kB / 0.7447 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005488/0.5406, allocations: 243.4 kB / 0.745 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.5407, allocations: 83.66 kB / 0.745 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.5409, allocations: 191 kB / 0.7452 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.5415, allocations: 0.5608 MB / 0.7458 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5416, allocations: 4 kB / 0.7458 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5416, allocations: 0 / 0.7458 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5416, allocations: 0 / 0.7458 GB, free: 6.57 MB / 0.5606 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/0.5427, allocations: 0.7419 MB / 0.7465 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5428, allocations: 15.97 kB / 0.7465 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.543, allocations: 44.47 kB / 0.7465 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.5436, allocations: 467.2 kB / 0.747 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5437, allocations: 24.69 kB / 0.747 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.5437, allocations: 27.91 kB / 0.747 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.5443, allocations: 318.2 kB / 0.7473 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5443, allocations: 0 / 0.7473 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5443, allocations: 12 kB / 0.7474 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5444, allocations: 4 kB / 0.7474 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.5448, allocations: 194.1 kB / 0.7475 GB, free: 4.637 MB / 0.5606 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.00169/0.5465, allocations: 1.469 MB / 0.749 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.5469, allocations: 158.6 kB / 0.7491 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.5471, allocations: 60.83 kB / 0.7492 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.5474, allocations: 89.09 kB / 0.7493 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.5477, allocations: 127.3 kB / 0.7494 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.105e-06/0.5477, allocations: 3.984 kB / 0.7494 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0005973/0.5483, allocations: 233.1 kB / 0.7496 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5483, allocations: 55.41 kB / 0.7497 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.5486, allocations: 333.6 kB / 0.75 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.5487, allocations: 29.7 kB / 0.75 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.5488, allocations: 219.7 kB / 0.7502 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.5489, allocations: 51.25 kB / 0.7503 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.549, allocations: 61.69 kB / 0.7503 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5491, allocations: 342.8 kB / 0.7507 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.5493, allocations: 67.95 kB / 0.7507 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.5495, allocations: 154.5 kB / 0.7509 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.55, allocations: 247 kB / 0.7511 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.55, allocations: 4 kB / 0.7511 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005606/0.5505, allocations: 309 kB / 0.7514 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.5506, allocations: 39.88 kB / 0.7515 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5506, allocations: 4 kB / 0.7515 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5506, allocations: 8.25 kB / 0.7515 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.5509, allocations: 55.91 kB / 0.7515 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5509, allocations: 7.984 kB / 0.7515 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.5512, allocations: 39.67 kB / 0.7516 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.5512, allocations: 12 kB / 0.7516 GB, free: 208 kB / 0.5606 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.0001604/0.5514, allocations: 153.8 kB / 0.7517 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.5514, allocations: 39.62 kB / 0.7518 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.5519, allocations: 199.4 kB / 0.7519 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5519, allocations: 3.938 kB / 0.752 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5519, allocations: 4 kB / 0.752 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004576/0.5524, allocations: 483.7 kB / 0.7524 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.5528, allocations: 345.3 kB / 0.7527 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5528, allocations: 0 / 0.7527 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.553, allocations: 43.91 kB / 0.7528 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.553, allocations: 0 / 0.7528 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.553, allocations: 0 / 0.7528 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.553, allocations: 7.938 kB / 0.7528 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.553, allocations: 0 / 0.7528 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.5536, allocations: 284.6 kB / 0.7531 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5538, allocations: 124.7 kB / 0.7532 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5538, allocations: 4 kB / 0.7532 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.5541, allocations: 19.92 kB / 0.7532 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.5542, allocations: 19.97 kB / 0.7532 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5542, allocations: 4 kB / 0.7532 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002249/0.5544, allocations: 235.2 kB / 0.7535 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5544, allocations: 0 / 0.7535 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004295/0.5549, allocations: 124 kB / 0.7536 GB, free: 13.96 MB / 0.5762 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.0003285/0.5552, allocations: 187 kB / 0.7538 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.5557, allocations: 227.1 kB / 0.754 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5557, allocations: 0 / 0.754 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.5559, allocations: 75.12 kB / 0.754 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/0.5568, allocations: 200.3 kB / 0.7542 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5585, allocations: 0.842 MB / 0.7551 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.5589, allocations: 0.7921 MB / 0.7558 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002961/0.5593, allocations: 59.25 kB / 0.7559 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.5593, allocations: 35.42 kB / 0.7559 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5593, allocations: 0 / 0.7559 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.01165/0.571, allocations: 6.486 MB / 0.7623 GB, free: 5.105 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)