Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, allocations: 288.4 MB / 304.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 187.8 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 100.5 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004123, allocations: 16.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.999/1.226, allocations: 395.2 MB / 1.367 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.227, allocations: 86.27 kB / 1.367 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8111/2.038, allocations: 103.4 MB / 1.468 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/2.038, allocations: 0 / 1.468 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.534e-05/2.038, allocations: 9.516 kB / 1.468 GB, free: 311.2 MB / 0.9323 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.001458/2.04, allocations: 0.722 MB / 1.468 GB, free: 310.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/2.04, allocations: 9.344 kB / 1.468 GB, free: 310.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/2.04, allocations: 44.25 kB / 1.468 GB, free: 310.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/2.052, allocations: 6.068 MB / 1.474 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/2.052, allocations: 24.44 kB / 1.474 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/2.052, allocations: 23.97 kB / 1.474 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/2.052, allocations: 314 kB / 1.475 GB, free: 306.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/2.052, allocations: 3.938 kB / 1.475 GB, free: 306.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/2.052, allocations: 11.88 kB / 1.475 GB, free: 306.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/2.052, allocations: 11.45 kB / 1.475 GB, free: 306.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/2.053, allocations: 202 kB / 1.475 GB, free: 306.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/2.054, allocations: 1.488 MB / 1.476 GB, free: 305.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/2.055, allocations: 162.6 kB / 1.477 GB, free: 305.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/2.055, allocations: 73.78 kB / 1.477 GB, free: 305 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/2.055, allocations: 84.77 kB / 1.477 GB, free: 304.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/2.056, allocations: 143.6 kB / 1.477 GB, free: 304.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.377e-06/2.056, allocations: 0 / 1.477 GB, free: 304.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0006044/2.056, allocations: 250 kB / 1.477 GB, free: 304.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/2.056, allocations: 55.39 kB / 1.477 GB, free: 304.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/2.057, allocations: 328.6 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/2.057, allocations: 29.3 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.057, allocations: 218.1 kB / 1.478 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/2.057, allocations: 53.36 kB / 1.478 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/2.057, allocations: 4 kB / 1.478 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/2.057, allocations: 345.5 kB / 1.478 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/2.057, allocations: 80.38 kB / 1.478 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/2.057, allocations: 155.5 kB / 1.478 GB, free: 303.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/2.058, allocations: 255.4 kB / 1.479 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/2.058, allocations: 0 / 1.479 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005082/2.058, allocations: 326 kB / 1.479 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/2.058, allocations: 37.52 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/2.058, allocations: 3.938 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/2.058, allocations: 3.938 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/2.058, allocations: 58.88 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/2.058, allocations: 3.844 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/2.059, allocations: 47.47 kB / 1.479 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/2.059, allocations: 15.81 kB / 1.479 GB, free: 303.2 MB / 0.9323 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.0001478/2.059, allocations: 157.4 kB / 1.479 GB, free: 303 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/2.059, allocations: 31.22 kB / 1.479 GB, free: 303 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/2.059, allocations: 210.4 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/2.059, allocations: 0 / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.059, allocations: 0 / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003734/2.06, allocations: 497 kB / 1.48 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/2.06, allocations: 354.6 kB / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/2.06, allocations: 0 / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/2.06, allocations: 33.45 kB / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/2.06, allocations: 0 / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/2.06, allocations: 11.89 kB / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/2.06, allocations: 0 / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/2.06, allocations: 0 / 1.48 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/2.061, allocations: 299.5 kB / 1.48 GB, free: 301.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/2.061, allocations: 127.5 kB / 1.481 GB, free: 301.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/2.061, allocations: 11.56 kB / 1.481 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/2.061, allocations: 22.67 kB / 1.481 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/2.061, allocations: 19.44 kB / 1.481 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/2.061, allocations: 3.562 kB / 1.481 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001952/2.062, allocations: 236.7 kB / 1.481 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/2.062, allocations: 0 / 1.481 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000476/2.062, allocations: 131.9 kB / 1.481 GB, free: 301.5 MB / 0.9323 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.0003698/2.063, allocations: 230.3 kB / 1.481 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004584/2.063, allocations: 241.9 kB / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.063, allocations: 0.625 kB / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/2.063, allocations: 75.27 kB / 1.482 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/2.064, allocations: 198.8 kB / 1.482 GB, free: 301.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/2.066, allocations: 0.9478 MB / 1.483 GB, free: 300.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/2.066, allocations: 0.7879 MB / 1.483 GB, free: 299.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002639/2.066, allocations: 71.64 kB / 1.484 GB, free: 299.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/2.066, allocations: 39.2 kB / 1.484 GB, free: 299.6 MB / 0.9323 GB Notification: Performance of SimCode: time 3.2e-07/2.066, allocations: 0 / 1.484 GB, free: 299.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.01153/2.078, allocations: 7.023 MB / 1.49 GB, free: 296.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)