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.344/2.344, allocations: 252.6 MB / 265.2 MB, free: 5.691 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.001509/0.001508, allocations: 179.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001125/0.001124, allocations: 86.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.194e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 106.2 MB / 0.8949 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.829/2.044, allocations: 387.3 MB / 1.273 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/2.044, allocations: 86.67 kB / 1.273 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3398/2.384, allocations: 100.9 MB / 1.372 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/2.384, allocations: 0 / 1.372 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.785e-05/2.384, allocations: 12 kB / 1.372 GB, free: 200.3 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.001299/2.386, allocations: 0.6576 MB / 1.372 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/2.386, allocations: 8.031 kB / 1.372 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/2.386, allocations: 47.48 kB / 1.372 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01973/2.406, allocations: 6.491 MB / 1.379 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/2.406, allocations: 16.56 kB / 1.379 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/2.406, allocations: 31.98 kB / 1.379 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/2.406, allocations: 278.2 kB / 1.379 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/2.407, allocations: 0 / 1.379 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/2.407, allocations: 16 kB / 1.379 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/2.407, allocations: 11.95 kB / 1.379 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/2.407, allocations: 158.2 kB / 1.379 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/2.409, allocations: 1.477 MB / 1.381 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/2.41, allocations: 130.6 kB / 1.381 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/2.41, allocations: 52.86 kB / 1.381 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/2.41, allocations: 89.09 kB / 1.381 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/2.41, allocations: 115.2 kB / 1.381 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.336e-06/2.41, allocations: 0 / 1.381 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004487/2.411, allocations: 150.8 kB / 1.381 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/2.411, allocations: 55.39 kB / 1.381 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/2.411, allocations: 307.6 kB / 1.382 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/2.411, allocations: 33.7 kB / 1.382 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/2.412, allocations: 215.8 kB / 1.382 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/2.412, allocations: 55.28 kB / 1.382 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/2.412, allocations: 7.938 kB / 1.382 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/2.412, allocations: 346.8 kB / 1.382 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/2.412, allocations: 48 kB / 1.382 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/2.412, allocations: 133.4 kB / 1.382 GB, free: 189 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/2.412, allocations: 104 kB / 1.382 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/2.412, allocations: 0 / 1.382 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005875/2.413, allocations: 274.7 kB / 1.383 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/2.413, allocations: 43.05 kB / 1.383 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/2.413, allocations: 7.922 kB / 1.383 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/2.413, allocations: 12.31 kB / 1.383 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/2.413, allocations: 59.91 kB / 1.383 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/2.414, allocations: 4 kB / 1.383 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/2.414, allocations: 35.73 kB / 1.383 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/2.414, allocations: 8 kB / 1.383 GB, free: 188.4 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 () * 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.0001066/2.414, allocations: 128.9 kB / 1.383 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/2.414, allocations: 35.61 kB / 1.383 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/2.415, allocations: 160.7 kB / 1.383 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/2.415, allocations: 0 / 1.383 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.415, allocations: 3.938 kB / 1.383 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003415/2.415, allocations: 457 kB / 1.384 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/2.416, allocations: 357.3 kB / 1.384 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/2.416, allocations: 0 / 1.384 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/2.416, allocations: 35.98 kB / 1.384 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/2.416, allocations: 0 / 1.384 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/2.416, allocations: 0 / 1.384 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/2.416, allocations: 11.95 kB / 1.384 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/2.416, allocations: 0 / 1.384 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/2.417, allocations: 239 kB / 1.384 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/2.417, allocations: 132.7 kB / 1.384 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/2.417, allocations: 3.938 kB / 1.384 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/2.417, allocations: 23.98 kB / 1.384 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/2.417, allocations: 23.92 kB / 1.384 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/2.417, allocations: 4 kB / 1.384 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003342/2.418, allocations: 242.2 kB / 1.385 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/2.418, allocations: 0 / 1.385 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006439/2.418, allocations: 136 kB / 1.385 GB, free: 186.3 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) * 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.0004654/2.419, allocations: 249.6 kB / 1.385 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004619/2.419, allocations: 194.4 kB / 1.385 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.419, allocations: 0 / 1.385 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/2.42, allocations: 55.92 kB / 1.385 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/2.421, allocations: 197 kB / 1.385 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/2.423, allocations: 0.5341 MB / 1.386 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/2.423, allocations: 0.8001 MB / 1.387 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004552/2.423, allocations: 63.19 kB / 1.387 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/2.423, allocations: 31.44 kB / 1.387 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/2.423, allocations: 3.938 kB / 1.387 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01917/2.443, allocations: 7.268 MB / 1.394 GB, free: 176.9 MB / 0.8542 GB