Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008146/0.0008144, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.006165/0.006165, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003716, allocations: 8.969 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3461, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01581/0.362, allocations: 13.89 MB / 1.088 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005572/0.3676, allocations: 3.639 MB / 1.091 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.3681, allocations: 19.88 kB / 1.091 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.3687, allocations: 167.1 kB / 1.091 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.3701, allocations: 0.5405 MB / 1.092 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.3711, allocations: 358.2 kB / 1.092 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.3726, allocations: 1.461 MB / 1.094 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.3731, allocations: 264.4 kB / 1.094 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.3736, allocations: 310.6 kB / 1.094 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.374, allocations: 298.6 kB / 1.095 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.374, allocations: 12 kB / 1.095 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.3746, allocations: 235.4 kB / 1.095 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.3747, allocations: 79.61 kB / 1.095 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3749, allocations: 220.7 kB / 1.095 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.3756, allocations: 0.5648 MB / 1.096 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3756, allocations: 0 / 1.096 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3756, allocations: 0 / 1.096 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3757, allocations: 0 / 1.096 GB, free: 1.465 MB / 0.8419 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.001478/0.3771, allocations: 0.6718 MB / 1.096 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.3772, allocations: 12.03 kB / 1.096 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.3775, allocations: 52.39 kB / 1.096 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008308/0.3783, allocations: 475.7 kB / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.3784, allocations: 24.69 kB / 1.097 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.3784, allocations: 35.98 kB / 1.097 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.3791, allocations: 310.2 kB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3791, allocations: 0 / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.3792, allocations: 15.98 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.3792, allocations: 8 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.3797, allocations: 210.1 kB / 1.097 GB, free: 15.56 MB / 0.8575 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.002115/0.3819, allocations: 1.489 MB / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.3824, allocations: 170.5 kB / 1.099 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3826, allocations: 76.81 kB / 1.099 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.3828, allocations: 81.11 kB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.3832, allocations: 137.8 kB / 1.099 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.3832, allocations: 0 / 1.099 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.000788/0.384, allocations: 253 kB / 1.1 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.3841, allocations: 59.39 kB / 1.1 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3846, allocations: 329.7 kB / 1.1 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3846, allocations: 29.7 kB / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3848, allocations: 215.7 kB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.3849, allocations: 55.25 kB / 1.1 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.3849, allocations: 33.64 kB / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3851, allocations: 350.8 kB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3853, allocations: 75.95 kB / 1.101 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3856, allocations: 146.6 kB / 1.101 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.3861, allocations: 260.5 kB / 1.101 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3861, allocations: 0 / 1.101 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006257/0.3867, allocations: 324.7 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.3867, allocations: 33.7 kB / 1.101 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3868, allocations: 0 / 1.101 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3868, allocations: 7.938 kB / 1.101 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.387, allocations: 63.91 kB / 1.101 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.387, allocations: 11.92 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.3873, allocations: 43.86 kB / 1.101 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3874, allocations: 8 kB / 1.101 GB, free: 11.05 MB / 0.8575 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.0001696/0.3876, allocations: 157.8 kB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.3876, allocations: 31.62 kB / 1.102 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.3881, allocations: 211.2 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3881, allocations: 3.938 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3881, allocations: 0 / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005306/0.3887, allocations: 0.4918 MB / 1.102 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3891, allocations: 349.3 kB / 1.103 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3891, allocations: 0 / 1.103 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3893, allocations: 39.97 kB / 1.103 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3893, allocations: 3.938 kB / 1.103 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3893, allocations: 0 / 1.103 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3894, allocations: 3.938 kB / 1.103 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3894, allocations: 0 / 1.103 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.39, allocations: 304.5 kB / 1.103 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3902, allocations: 132.6 kB / 1.103 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.3902, allocations: 4 kB / 1.103 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.3905, allocations: 27.91 kB / 1.103 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.3906, allocations: 15.98 kB / 1.103 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3906, allocations: 11.98 kB / 1.103 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002536/0.3909, allocations: 239.1 kB / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3909, allocations: 0 / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004753/0.3914, allocations: 124 kB / 1.104 GB, free: 8.754 MB / 0.8575 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.0003444/0.3917, allocations: 175.3 kB / 1.104 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.3923, allocations: 239 kB / 1.104 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3923, allocations: 0.625 kB / 1.104 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3925, allocations: 77.23 kB / 1.104 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3936, allocations: 198.2 kB / 1.104 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3953, allocations: 0.9347 MB / 1.105 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3957, allocations: 0.7881 MB / 1.106 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002815/0.396, allocations: 63.2 kB / 1.106 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.272e-05/0.396, allocations: 35.42 kB / 1.106 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3961, allocations: 0 / 1.106 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of Templates: time 0.01319/0.4092, allocations: 6.541 MB / 1.112 GB, free: 15.73 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)