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.516/2.516, allocations: 253.2 MB / 260.6 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 179 kB / 319.9 MB, free: 3.012 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.112/2.112, allocations: 205.6 MB / 0.5708 GB, free: 15.12 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.00114/0.001139, allocations: 92.72 kB / 0.6751 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.955e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.803/2.011, allocations: 387.5 MB / 1.267 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/2.011, allocations: 82.98 kB / 1.267 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3404/2.352, allocations: 100.5 MB / 1.365 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/2.352, allocations: 0 / 1.365 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.746e-05/2.352, allocations: 7.812 kB / 1.365 GB, free: 230.7 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.001288/2.353, allocations: 0.6548 MB / 1.366 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/2.353, allocations: 11.89 kB / 1.366 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/2.353, allocations: 50.92 kB / 1.366 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02129/2.375, allocations: 6.465 MB / 1.372 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/2.375, allocations: 7.594 kB / 1.372 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/2.375, allocations: 15.28 kB / 1.372 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004369/2.375, allocations: 137.7 kB / 1.372 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/2.376, allocations: 242.5 kB / 1.373 GB, free: 226 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/2.376, allocations: 7.938 kB / 1.373 GB, free: 226 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/2.376, allocations: 3.953 kB / 1.373 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/2.376, allocations: 11.61 kB / 1.373 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/2.378, allocations: 1.424 MB / 1.374 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/2.379, allocations: 117.5 kB / 1.374 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/2.379, allocations: 48.02 kB / 1.374 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/2.379, allocations: 92.94 kB / 1.374 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/2.379, allocations: 106.9 kB / 1.374 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.166e-06/2.379, allocations: 0 / 1.374 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004559/2.38, allocations: 142.4 kB / 1.375 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/2.38, allocations: 55.09 kB / 1.375 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/2.38, allocations: 275.4 kB / 1.375 GB, free: 224 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/2.38, allocations: 29.61 kB / 1.375 GB, free: 224 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/2.38, allocations: 217.6 kB / 1.375 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/2.38, allocations: 55.03 kB / 1.375 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/2.38, allocations: 3.938 kB / 1.375 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/2.38, allocations: 338.5 kB / 1.376 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/2.381, allocations: 46.25 kB / 1.376 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/2.381, allocations: 131.7 kB / 1.376 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/2.381, allocations: 71.09 kB / 1.376 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.381, allocations: 0 / 1.376 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006423/2.382, allocations: 234.6 kB / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/2.382, allocations: 33.27 kB / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/2.382, allocations: 0 / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/2.382, allocations: 7.797 kB / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/2.382, allocations: 69.86 kB / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/2.382, allocations: 3.875 kB / 1.376 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/2.383, allocations: 30.64 kB / 1.376 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/2.383, allocations: 11.38 kB / 1.376 GB, free: 223 MB / 0.8698 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 () * 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.0001023/2.383, allocations: 116.8 kB / 1.376 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/2.383, allocations: 35.41 kB / 1.376 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/2.384, allocations: 150 kB / 1.376 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.384, allocations: 3.984 kB / 1.376 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/2.384, allocations: 3.953 kB / 1.376 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003713/2.384, allocations: 450.7 kB / 1.377 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/2.385, allocations: 307.4 kB / 1.377 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/2.385, allocations: 0 / 1.377 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/2.385, allocations: 31.11 kB / 1.377 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/2.385, allocations: 7.875 kB / 1.377 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/2.385, allocations: 0 / 1.377 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/2.385, allocations: 3.984 kB / 1.377 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.385, allocations: 0 / 1.377 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/2.385, allocations: 225.8 kB / 1.377 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/2.386, allocations: 132.4 kB / 1.378 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/2.386, allocations: 7.812 kB / 1.378 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/2.386, allocations: 15.77 kB / 1.378 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/2.386, allocations: 19.84 kB / 1.378 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/2.386, allocations: 7.891 kB / 1.378 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002784/2.387, allocations: 213.2 kB / 1.378 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/2.387, allocations: 0 / 1.378 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000667/2.387, allocations: 131.1 kB / 1.378 GB, free: 221.6 MB / 0.8698 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) * 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.0004662/2.388, allocations: 241.1 kB / 1.378 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003821/2.388, allocations: 185.8 kB / 1.378 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.388, allocations: 0 / 1.378 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/2.388, allocations: 57.42 kB / 1.378 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/2.39, allocations: 177.7 kB / 1.379 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/2.391, allocations: 0.5197 MB / 1.379 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/2.391, allocations: 0.8088 MB / 1.38 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004269/2.392, allocations: 54.75 kB / 1.38 GB, free: 220 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/2.392, allocations: 38.67 kB / 1.38 GB, free: 220 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/2.392, allocations: 0 / 1.38 GB, free: 220 MB / 0.8698 GB Notification: Performance of Templates: time 0.01696/2.409, allocations: 6.063 MB / 1.386 GB, free: 215.9 MB / 0.8698 GB