Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 284.8 MB / 297.3 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 184.7 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.1 MB / 0.6241 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 100.2 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.666e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8177, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/2.078, allocations: 394.9 MB / 1.356 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/2.078, allocations: 85.42 kB / 1.356 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3321/2.41, allocations: 103.7 MB / 1.457 GB, free: 76.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/2.41, allocations: 0 / 1.457 GB, free: 76.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.865e-05/2.41, allocations: 12 kB / 1.457 GB, free: 76.23 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.001198/2.412, allocations: 0.6555 MB / 1.458 GB, free: 75.53 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.412, allocations: 8.031 kB / 1.458 GB, free: 75.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/2.412, allocations: 55.38 kB / 1.458 GB, free: 75.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/2.432, allocations: 6.656 MB / 1.464 GB, free: 68.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/2.432, allocations: 20.56 kB / 1.464 GB, free: 68.69 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/2.432, allocations: 24 kB / 1.464 GB, free: 68.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/2.433, allocations: 290.2 kB / 1.464 GB, free: 68.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/2.433, allocations: 4 kB / 1.464 GB, free: 68.35 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/2.433, allocations: 12 kB / 1.464 GB, free: 68.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/2.433, allocations: 7.938 kB / 1.464 GB, free: 68.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/2.433, allocations: 158.1 kB / 1.465 GB, free: 68.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/2.436, allocations: 1.497 MB / 1.466 GB, free: 66.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/2.436, allocations: 130.6 kB / 1.466 GB, free: 66.42 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/2.436, allocations: 48.86 kB / 1.466 GB, free: 66.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/2.436, allocations: 89.09 kB / 1.466 GB, free: 66.26 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/2.437, allocations: 112.8 kB / 1.466 GB, free: 66.14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.887e-06/2.437, allocations: 0 / 1.466 GB, free: 66.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004114/2.437, allocations: 157.2 kB / 1.467 GB, free: 65.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/2.437, allocations: 55.41 kB / 1.467 GB, free: 65.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/2.438, allocations: 311.5 kB / 1.467 GB, free: 65.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/2.438, allocations: 29.7 kB / 1.467 GB, free: 65.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/2.438, allocations: 215.9 kB / 1.467 GB, free: 65.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/2.438, allocations: 51.3 kB / 1.467 GB, free: 65.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/2.438, allocations: 4 kB / 1.467 GB, free: 65.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/2.438, allocations: 338.8 kB / 1.468 GB, free: 64.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/2.438, allocations: 59.98 kB / 1.468 GB, free: 64.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/2.438, allocations: 126.4 kB / 1.468 GB, free: 64.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/2.439, allocations: 101.6 kB / 1.468 GB, free: 64.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.439, allocations: 4 kB / 1.468 GB, free: 64.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005663/2.439, allocations: 285.3 kB / 1.468 GB, free: 64.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/2.439, allocations: 29.7 kB / 1.468 GB, free: 64.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.439, allocations: 4 kB / 1.468 GB, free: 64.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/2.439, allocations: 7.953 kB / 1.468 GB, free: 64.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/2.44, allocations: 59.89 kB / 1.468 GB, free: 64.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/2.44, allocations: 4 kB / 1.468 GB, free: 64.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/2.44, allocations: 44.02 kB / 1.468 GB, free: 64.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/2.44, allocations: 12 kB / 1.468 GB, free: 64.18 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 9.747e-05/2.44, allocations: 120.9 kB / 1.468 GB, free: 64.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/2.44, allocations: 31.62 kB / 1.468 GB, free: 64.03 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/2.441, allocations: 162.3 kB / 1.469 GB, free: 63.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/2.441, allocations: 11.89 kB / 1.469 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/2.441, allocations: 4 kB / 1.469 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003363/2.441, allocations: 459.7 kB / 1.469 GB, free: 63.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/2.442, allocations: 353.3 kB / 1.469 GB, free: 62.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/2.442, allocations: 0 / 1.469 GB, free: 62.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/2.442, allocations: 31.97 kB / 1.469 GB, free: 62.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/2.442, allocations: 4 kB / 1.469 GB, free: 62.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/2.442, allocations: 0 / 1.469 GB, free: 62.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/2.442, allocations: 0 / 1.469 GB, free: 62.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/2.442, allocations: 7.891 kB / 1.469 GB, free: 62.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/2.443, allocations: 242.7 kB / 1.47 GB, free: 62.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/2.443, allocations: 136.7 kB / 1.47 GB, free: 62.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/2.443, allocations: 0 / 1.47 GB, free: 62.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/2.443, allocations: 27.89 kB / 1.47 GB, free: 62.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/2.444, allocations: 19.97 kB / 1.47 GB, free: 62.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/2.444, allocations: 11.94 kB / 1.47 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003177/2.444, allocations: 242.2 kB / 1.47 GB, free: 62.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.81e-07/2.444, allocations: 0 / 1.47 GB, free: 62.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006227/2.445, allocations: 140 kB / 1.47 GB, free: 62.04 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.0004542/2.445, allocations: 241.1 kB / 1.47 GB, free: 61.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004171/2.445, allocations: 192.5 kB / 1.471 GB, free: 61.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.445, allocations: 4.625 kB / 1.471 GB, free: 61.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/2.446, allocations: 55.92 kB / 1.471 GB, free: 61.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/2.447, allocations: 186.3 kB / 1.471 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/2.448, allocations: 0.5381 MB / 1.471 GB, free: 60.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/2.449, allocations: 0.804 MB / 1.472 GB, free: 59.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004281/2.449, allocations: 59.19 kB / 1.472 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/2.449, allocations: 35.38 kB / 1.472 GB, free: 59.87 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/2.449, allocations: 0 / 1.472 GB, free: 59.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.01916/2.468, allocations: 7.336 MB / 1.479 GB, free: 52.62 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)