Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001111/0.00111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001278/0.001278, allocations: 200 kB / 16.26 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.09 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3403, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01619/0.3565, allocations: 14.38 MB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005603/0.3622, allocations: 3.62 MB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.3628, allocations: 15.88 kB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.3636, allocations: 179.1 kB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.3653, allocations: 0.5327 MB / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3663, allocations: 362.8 kB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3677, allocations: 1.102 MB / 1.087 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.3682, allocations: 316.6 kB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009959/0.3693, allocations: 385.3 kB / 1.088 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.3697, allocations: 318.6 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.3697, allocations: 35.94 kB / 1.088 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.3704, allocations: 259.4 kB / 1.089 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3705, allocations: 95.67 kB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.3707, allocations: 211 kB / 1.089 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.3715, allocations: 0.5961 MB / 1.09 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3715, allocations: 0 / 1.09 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3715, allocations: 0 / 1.09 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3716, allocations: 0 / 1.09 GB, free: 4.285 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.001268/0.3728, allocations: 0.7418 MB / 1.09 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3729, allocations: 12.03 kB / 1.09 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.3731, allocations: 44.47 kB / 1.09 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.3739, allocations: 487.7 kB / 1.091 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3739, allocations: 28.67 kB / 1.091 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.374, allocations: 28 kB / 1.091 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.3746, allocations: 306.2 kB / 1.091 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3746, allocations: 3.984 kB / 1.091 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.3747, allocations: 12 kB / 1.091 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.3747, allocations: 11.94 kB / 1.091 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.3752, allocations: 190.1 kB / 1.091 GB, free: 2.328 MB / 0.8419 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.001843/0.3771, allocations: 1.473 MB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3775, allocations: 158.6 kB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3777, allocations: 68.81 kB / 1.093 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3779, allocations: 85.11 kB / 1.093 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.3782, allocations: 127.2 kB / 1.093 GB, free: 260 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3782, allocations: 0 / 1.093 GB, free: 260 kB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006578/0.3789, allocations: 238.5 kB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.379, allocations: 59.39 kB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.3793, allocations: 341.6 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3794, allocations: 33.7 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3795, allocations: 219.7 kB / 1.094 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.3796, allocations: 51.27 kB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3797, allocations: 53.7 kB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3798, allocations: 346.8 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3801, allocations: 67.95 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3803, allocations: 142.9 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3808, allocations: 240.9 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3808, allocations: 4 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006047/0.3814, allocations: 320.6 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.3815, allocations: 33.7 kB / 1.095 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3815, allocations: 0 / 1.095 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3815, allocations: 7.938 kB / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.3818, allocations: 59.91 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3818, allocations: 7.984 kB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3821, allocations: 39.98 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3821, allocations: 12 kB / 1.095 GB, free: 13.89 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.000177/0.3823, allocations: 162.4 kB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3823, allocations: 31.62 kB / 1.096 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.3828, allocations: 202.1 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3828, allocations: 3.938 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3828, allocations: 0 / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004989/0.3833, allocations: 483.7 kB / 1.096 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.3838, allocations: 349.3 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3838, allocations: 0 / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.384, allocations: 39.91 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.384, allocations: 4 kB / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.384, allocations: 0 / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3841, allocations: 7.938 kB / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3841, allocations: 0 / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.3847, allocations: 283 kB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3848, allocations: 124.6 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.3849, allocations: 7.938 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3851, allocations: 27.83 kB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.3852, allocations: 27.91 kB / 1.097 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3852, allocations: 4 kB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002376/0.3855, allocations: 239.2 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3855, allocations: 0 / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004508/0.3859, allocations: 120 kB / 1.097 GB, free: 11.63 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.0003544/0.3863, allocations: 174.7 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.3868, allocations: 243.4 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3868, allocations: 0 / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.387, allocations: 67.95 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.388, allocations: 218.9 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3895, allocations: 0.8598 MB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3898, allocations: 0.7879 MB / 1.1 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000257/0.3901, allocations: 63.25 kB / 1.1 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.3902, allocations: 35.42 kB / 1.1 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3902, allocations: 3.938 kB / 1.1 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of Templates: time 0.01238/0.4026, allocations: 6.814 MB / 1.106 GB, free: 2.414 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)