Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.511/1.511, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009651/0.0009654, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.479/1.479, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009374/0.0009375, allocations: 92.06 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.511e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6178, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.963/1.581, allocations: 395.4 MB / 1.359 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.581, allocations: 84.08 kB / 1.359 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1841/1.765, allocations: 103.2 MB / 1.46 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/1.765, allocations: 0 / 1.46 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.255e-05/1.765, allocations: 8 kB / 1.46 GB, free: 72.04 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.0008208/1.766, allocations: 0.6493 MB / 1.461 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.766, allocations: 16.02 kB / 1.461 GB, free: 71.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/1.766, allocations: 47.44 kB / 1.461 GB, free: 71.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/1.778, allocations: 6.64 MB / 1.467 GB, free: 64.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/1.778, allocations: 12 kB / 1.467 GB, free: 64.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/1.778, allocations: 19.98 kB / 1.467 GB, free: 64.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002858/1.778, allocations: 133.1 kB / 1.468 GB, free: 64.38 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/1.779, allocations: 241.2 kB / 1.468 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.779, allocations: 7.938 kB / 1.468 GB, free: 64.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.779, allocations: 0 / 1.468 GB, free: 64.11 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/1.779, allocations: 12 kB / 1.468 GB, free: 64.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.78, allocations: 1.434 MB / 1.469 GB, free: 62.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/1.78, allocations: 118.7 kB / 1.469 GB, free: 62.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/1.78, allocations: 45.11 kB / 1.469 GB, free: 62.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/1.78, allocations: 93.08 kB / 1.469 GB, free: 62.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/1.781, allocations: 115.3 kB / 1.47 GB, free: 62.15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.781, allocations: 0 / 1.47 GB, free: 62.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002749/1.781, allocations: 137.3 kB / 1.47 GB, free: 62.01 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/1.781, allocations: 63.23 kB / 1.47 GB, free: 61.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/1.781, allocations: 277.1 kB / 1.47 GB, free: 61.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.781, allocations: 25.7 kB / 1.47 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/1.781, allocations: 215.8 kB / 1.47 GB, free: 61.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/1.781, allocations: 55.28 kB / 1.47 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/1.781, allocations: 0 / 1.47 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/1.781, allocations: 342.8 kB / 1.471 GB, free: 61.01 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/1.781, allocations: 48 kB / 1.471 GB, free: 60.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/1.782, allocations: 121.4 kB / 1.471 GB, free: 60.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/1.782, allocations: 67.97 kB / 1.471 GB, free: 60.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.782, allocations: 0 / 1.471 GB, free: 60.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003345/1.782, allocations: 239.1 kB / 1.471 GB, free: 60.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.782, allocations: 29.7 kB / 1.471 GB, free: 60.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.782, allocations: 4 kB / 1.471 GB, free: 60.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.782, allocations: 7.984 kB / 1.471 GB, free: 60.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/1.782, allocations: 59.91 kB / 1.471 GB, free: 60.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.782, allocations: 7.938 kB / 1.471 GB, free: 60.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/1.783, allocations: 40 kB / 1.471 GB, free: 60.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/1.783, allocations: 16 kB / 1.471 GB, free: 60.34 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 6.288e-05/1.783, allocations: 108.9 kB / 1.471 GB, free: 60.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/1.783, allocations: 31.62 kB / 1.471 GB, free: 60.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/1.783, allocations: 149.8 kB / 1.472 GB, free: 60.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.783, allocations: 8 kB / 1.472 GB, free: 60.04 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.783, allocations: 4 kB / 1.472 GB, free: 60.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002068/1.783, allocations: 448.6 kB / 1.472 GB, free: 59.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/1.784, allocations: 309.9 kB / 1.472 GB, free: 59.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.784, allocations: 0 / 1.472 GB, free: 59.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.784, allocations: 39.91 kB / 1.472 GB, free: 59.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.784, allocations: 3.938 kB / 1.472 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.784, allocations: 4 kB / 1.472 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.784, allocations: 0 / 1.472 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.784, allocations: 4 kB / 1.472 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/1.784, allocations: 226.7 kB / 1.473 GB, free: 58.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/1.784, allocations: 124.7 kB / 1.473 GB, free: 58.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/1.784, allocations: 8 kB / 1.473 GB, free: 58.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/1.784, allocations: 19.91 kB / 1.473 GB, free: 58.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/1.785, allocations: 11.98 kB / 1.473 GB, free: 58.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.785, allocations: 15.98 kB / 1.473 GB, free: 58.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001502/1.785, allocations: 216.5 kB / 1.473 GB, free: 58.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.785, allocations: 0 / 1.473 GB, free: 58.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004094/1.785, allocations: 135.6 kB / 1.473 GB, free: 58.34 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.0003136/1.785, allocations: 232.2 kB / 1.473 GB, free: 58.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002308/1.786, allocations: 187.2 kB / 1.473 GB, free: 57.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.786, allocations: 0.625 kB / 1.473 GB, free: 57.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/1.786, allocations: 51.94 kB / 1.473 GB, free: 57.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/1.787, allocations: 175.1 kB / 1.474 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/1.787, allocations: 0.5262 MB / 1.474 GB, free: 57.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.788, allocations: 0.7952 MB / 1.475 GB, free: 56.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002204/1.788, allocations: 63.2 kB / 1.475 GB, free: 56.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/1.788, allocations: 35.38 kB / 1.475 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.788, allocations: 0 / 1.475 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.008755/1.797, allocations: 6.121 MB / 1.481 GB, free: 50.21 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)