Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.03/5.03, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002644/0.002643, allocations: 359.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.447/4.447, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001858, allocations: 179.8 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005067, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7229, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.865, allocations: 395 MB / 1.847 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.865, allocations: 91.81 kB / 1.847 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.329/2.194, allocations: 103.3 MB / 1.948 GB, free: 57.85 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.815e-06/2.195, allocations: 0 / 1.948 GB, free: 57.85 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.411e-05/2.195, allocations: 11.94 kB / 1.948 GB, free: 57.84 MB / 0.8542 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.001569/2.196, allocations: 0.7118 MB / 1.949 GB, free: 57.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/2.196, allocations: 11.62 kB / 1.949 GB, free: 57.06 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/2.196, allocations: 55.47 kB / 1.949 GB, free: 57.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/2.214, allocations: 6.05 MB / 1.955 GB, free: 50.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/2.215, allocations: 16.56 kB / 1.955 GB, free: 50.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/2.215, allocations: 28 kB / 1.955 GB, free: 50.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/2.216, allocations: 310.2 kB / 1.955 GB, free: 50.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/2.216, allocations: 0 / 1.955 GB, free: 50.49 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/2.216, allocations: 15.98 kB / 1.955 GB, free: 50.47 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/2.216, allocations: 11.94 kB / 1.955 GB, free: 50.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/2.216, allocations: 198.1 kB / 1.955 GB, free: 50.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/2.219, allocations: 1.481 MB / 1.957 GB, free: 48.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/2.219, allocations: 170.6 kB / 1.957 GB, free: 48.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/2.22, allocations: 68.81 kB / 1.957 GB, free: 48.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/2.22, allocations: 89.05 kB / 1.957 GB, free: 48.31 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/2.22, allocations: 139.2 kB / 1.957 GB, free: 48.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/2.22, allocations: 0 / 1.957 GB, free: 48.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0009696/2.221, allocations: 253.5 kB / 1.957 GB, free: 47.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/2.221, allocations: 55.41 kB / 1.957 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/2.222, allocations: 329.7 kB / 1.958 GB, free: 47.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/2.222, allocations: 33.64 kB / 1.958 GB, free: 47.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/2.222, allocations: 223.6 kB / 1.958 GB, free: 47.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/2.222, allocations: 47.36 kB / 1.958 GB, free: 47.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/2.222, allocations: 4 kB / 1.958 GB, free: 47.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/2.222, allocations: 346.8 kB / 1.958 GB, free: 46.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/2.223, allocations: 67.95 kB / 1.958 GB, free: 46.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/2.223, allocations: 153.4 kB / 1.959 GB, free: 46.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/2.223, allocations: 121.6 kB / 1.959 GB, free: 46.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/2.223, allocations: 4 kB / 1.959 GB, free: 46.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000891/2.224, allocations: 318.4 kB / 1.959 GB, free: 46.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/2.224, allocations: 33.7 kB / 1.959 GB, free: 46.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/2.224, allocations: 0 / 1.959 GB, free: 46.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/2.224, allocations: 7.953 kB / 1.959 GB, free: 46.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/2.225, allocations: 63.89 kB / 1.959 GB, free: 46.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/2.225, allocations: 8.125 kB / 1.959 GB, free: 46.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/2.225, allocations: 43.67 kB / 1.959 GB, free: 46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/2.225, allocations: 15.98 kB / 1.959 GB, free: 45.98 MB / 0.8542 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.0002413/2.226, allocations: 157.8 kB / 1.959 GB, free: 45.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/2.226, allocations: 31.62 kB / 1.959 GB, free: 45.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/2.226, allocations: 208.5 kB / 1.959 GB, free: 45.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/2.226, allocations: 7.953 kB / 1.96 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/2.226, allocations: 0 / 1.96 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006444/2.227, allocations: 499.6 kB / 1.96 GB, free: 45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/2.228, allocations: 349.3 kB / 1.96 GB, free: 44.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/2.228, allocations: 0 / 1.96 GB, free: 44.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/2.228, allocations: 35.97 kB / 1.96 GB, free: 44.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/2.228, allocations: 0 / 1.96 GB, free: 44.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/2.228, allocations: 0 / 1.96 GB, free: 44.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/2.228, allocations: 4 kB / 1.96 GB, free: 44.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.228, allocations: 15.83 kB / 1.96 GB, free: 44.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/2.229, allocations: 300.5 kB / 1.961 GB, free: 44.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/2.229, allocations: 124.8 kB / 1.961 GB, free: 44.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/2.229, allocations: 4 kB / 1.961 GB, free: 44.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/2.23, allocations: 23.92 kB / 1.961 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/2.23, allocations: 11.97 kB / 1.961 GB, free: 44.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/2.23, allocations: 19.94 kB / 1.961 GB, free: 44.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003146/2.23, allocations: 227.2 kB / 1.961 GB, free: 43.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/2.23, allocations: 4 kB / 1.961 GB, free: 43.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006179/2.231, allocations: 132 kB / 1.961 GB, free: 43.69 MB / 0.8542 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.0004572/2.231, allocations: 226.8 kB / 1.961 GB, free: 43.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007192/2.232, allocations: 227.6 kB / 1.962 GB, free: 43.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.232, allocations: 4.188 kB / 1.962 GB, free: 43.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/2.232, allocations: 78.42 kB / 1.962 GB, free: 43.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/2.234, allocations: 194.9 kB / 1.962 GB, free: 42.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/2.236, allocations: 0.9596 MB / 1.963 GB, free: 41.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/2.236, allocations: 0.7962 MB / 1.964 GB, free: 41.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004666/2.237, allocations: 75.17 kB / 1.964 GB, free: 41.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/2.237, allocations: 27.44 kB / 1.964 GB, free: 41.05 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/2.237, allocations: 4 kB / 1.964 GB, free: 41.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.01853/2.255, allocations: 6.908 MB / 1.97 GB, free: 34.31 MB / 0.8542 GB