Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.264/2.264, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 197.8 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5766 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 94.42 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 11.66 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.409, allocations: 387.3 MB / 1.277 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/1.409, allocations: 91.2 kB / 1.277 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.3599/1.769, allocations: 101.2 MB / 1.376 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/1.769, allocations: 0 / 1.376 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.068e-05/1.769, allocations: 8 kB / 1.376 GB, free: 6.148 MB / 0.8698 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.00182/1.771, allocations: 0.7155 MB / 1.377 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.771, allocations: 12.03 kB / 1.377 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/1.771, allocations: 51.39 kB / 1.377 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/1.794, allocations: 6.535 MB / 1.383 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/1.794, allocations: 20.56 kB / 1.383 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/1.794, allocations: 31.98 kB / 1.383 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/1.795, allocations: 306.2 kB / 1.384 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/1.795, allocations: 0 / 1.384 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/1.795, allocations: 12 kB / 1.384 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/1.795, allocations: 15.89 kB / 1.384 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/1.796, allocations: 206.1 kB / 1.384 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/1.799, allocations: 1.477 MB / 1.385 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/1.799, allocations: 174.6 kB / 1.385 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.8, allocations: 85.09 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/1.8, allocations: 127.3 kB / 1.386 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 3.807e-06/1.8, allocations: 0 / 1.386 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001038/1.801, allocations: 255.6 kB / 1.386 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/1.801, allocations: 51.41 kB / 1.386 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/1.802, allocations: 312.8 kB / 1.386 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.802, allocations: 33.7 kB / 1.386 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.802, allocations: 219.7 kB / 1.386 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/1.802, allocations: 43.36 kB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/1.802, allocations: 4 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.802, allocations: 346.8 kB / 1.387 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/1.803, allocations: 71.95 kB / 1.387 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/1.803, allocations: 153.3 kB / 1.387 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.804, allocations: 119.5 kB / 1.387 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.804, allocations: 0 / 1.387 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009794/1.805, allocations: 327.2 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/1.805, allocations: 33.7 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.805, allocations: 8.266 kB / 1.388 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.805, allocations: 8 kB / 1.388 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/1.805, allocations: 55.91 kB / 1.388 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.805, allocations: 7.984 kB / 1.388 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/1.806, allocations: 43.61 kB / 1.388 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/1.806, allocations: 12 kB / 1.388 GB, free: 9.887 MB / 0.8855 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000264/1.806, allocations: 159.7 kB / 1.388 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/1.806, allocations: 35.61 kB / 1.388 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/1.807, allocations: 204.4 kB / 1.388 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.807, allocations: 11.95 kB / 1.388 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.807, allocations: 3.984 kB / 1.388 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000762/1.808, allocations: 487.7 kB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/1.808, allocations: 349.3 kB / 1.389 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.808, allocations: 4 kB / 1.389 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/1.809, allocations: 39.91 kB / 1.389 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.809, allocations: 0 / 1.389 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.809, allocations: 8 kB / 1.389 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.809, allocations: 0 / 1.389 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.809, allocations: 3.953 kB / 1.389 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.81, allocations: 297.8 kB / 1.389 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/1.81, allocations: 124.8 kB / 1.389 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/1.81, allocations: 8 kB / 1.389 GB, free: 8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/1.811, allocations: 27.91 kB / 1.389 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/1.811, allocations: 19.94 kB / 1.389 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.811, allocations: 11.98 kB / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003841/1.811, allocations: 247.2 kB / 1.39 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/1.811, allocations: 0 / 1.39 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006704/1.812, allocations: 135.9 kB / 1.39 GB, free: 7.574 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/1.812, allocations: 242.1 kB / 1.39 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007752/1.813, allocations: 243.1 kB / 1.39 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.813, allocations: 4 kB / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.813, allocations: 77.64 kB / 1.39 GB, free: 7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.815, allocations: 191.5 kB / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/1.817, allocations: 0.9443 MB / 1.391 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/1.818, allocations: 0.7962 MB / 1.392 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000433/1.818, allocations: 71.12 kB / 1.392 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.818, allocations: 31.42 kB / 1.392 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/1.818, allocations: 0 / 1.392 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of Templates: time 0.6351/2.453, allocations: 7.098 MB / 1.399 GB, free: 293.4 MB / 0.8855 GB