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 2.025/2.025, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001335/0.001334, allocations: 184 kB / 377.1 MB, free: 1.512 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.9/1.9, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.001085/0.001085, allocations: 90.64 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 15.98 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2937, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.528/1.822, allocations: 396.1 MB / 1.375 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.823, allocations: 88.86 kB / 1.375 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.2137/2.036, allocations: 104 MB / 1.477 GB, free: 228 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.443e-06/2.036, allocations: 1.156 kB / 1.477 GB, free: 228 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.373e-05/2.036, allocations: 10.41 kB / 1.477 GB, free: 228 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.001301/2.038, allocations: 0.7187 MB / 1.478 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/2.038, allocations: 12.98 kB / 1.478 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/2.038, allocations: 50.23 kB / 1.478 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/2.052, allocations: 6.714 MB / 1.484 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/2.052, allocations: 19 kB / 1.484 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/2.052, allocations: 29.56 kB / 1.484 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/2.053, allocations: 309.2 kB / 1.485 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/2.053, allocations: 5.141 kB / 1.485 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/2.053, allocations: 10.28 kB / 1.485 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/2.053, allocations: 12.02 kB / 1.485 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/2.053, allocations: 196.3 kB / 1.485 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/2.055, allocations: 1.498 MB / 1.486 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/2.056, allocations: 167.9 kB / 1.486 GB, free: 221.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/2.056, allocations: 87.84 kB / 1.486 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/2.056, allocations: 129.3 kB / 1.487 GB, free: 221.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 4.398e-06/2.056, allocations: 1.031 kB / 1.487 GB, free: 221.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0006886/2.057, allocations: 257.8 kB / 1.487 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/2.057, allocations: 53.94 kB / 1.487 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/2.058, allocations: 312.1 kB / 1.487 GB, free: 221 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/2.058, allocations: 31.14 kB / 1.487 GB, free: 221 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/2.058, allocations: 208.2 kB / 1.487 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/2.058, allocations: 54.19 kB / 1.487 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/2.058, allocations: 5.281 kB / 1.487 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/2.058, allocations: 346.2 kB / 1.488 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/2.058, allocations: 68.67 kB / 1.488 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/2.058, allocations: 159.3 kB / 1.488 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/2.059, allocations: 118.9 kB / 1.488 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/2.059, allocations: 1.156 kB / 1.488 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006041/2.059, allocations: 321 kB / 1.488 GB, free: 220 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/2.059, allocations: 32.92 kB / 1.488 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.059, allocations: 6.5 kB / 1.488 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/2.059, allocations: 4.625 kB / 1.488 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/2.06, allocations: 59.61 kB / 1.488 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/2.06, allocations: 9.016 kB / 1.489 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/2.06, allocations: 44.42 kB / 1.489 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/2.06, allocations: 13.25 kB / 1.489 GB, free: 219.9 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.0001621/2.06, allocations: 157.9 kB / 1.489 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/2.06, allocations: 36.05 kB / 1.489 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/2.061, allocations: 216.8 kB / 1.489 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/2.061, allocations: 1.5 kB / 1.489 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/2.061, allocations: 0 / 1.489 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004456/2.061, allocations: 498.1 kB / 1.489 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/2.062, allocations: 345.8 kB / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/2.062, allocations: 0 / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/2.062, allocations: 38.25 kB / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/2.062, allocations: 0 / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/2.062, allocations: 6.5 kB / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/2.062, allocations: 0 / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.062, allocations: 1.375 kB / 1.49 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/2.063, allocations: 312.3 kB / 1.49 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/2.063, allocations: 129.8 kB / 1.49 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/2.063, allocations: 5.469 kB / 1.49 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/2.063, allocations: 20.23 kB / 1.49 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/2.063, allocations: 18.19 kB / 1.49 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/2.063, allocations: 9.625 kB / 1.49 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002776/2.063, allocations: 247.9 kB / 1.491 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.063, allocations: 0 / 1.491 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005859/2.064, allocations: 141.3 kB / 1.491 GB, free: 218.2 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.0004232/2.064, allocations: 248.2 kB / 1.491 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005156/2.065, allocations: 237.5 kB / 1.491 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.065, allocations: 1.219 kB / 1.491 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/2.065, allocations: 77.33 kB / 1.491 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/2.066, allocations: 194.8 kB / 1.491 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/2.068, allocations: 0.9457 MB / 1.492 GB, free: 217.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/2.068, allocations: 0.8065 MB / 1.493 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003479/2.068, allocations: 64.16 kB / 1.493 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/2.068, allocations: 33.7 kB / 1.493 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of SimCode: time 6.21e-07/2.068, allocations: 0 / 1.493 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.01385/2.082, allocations: 7.164 MB / 1.5 GB, free: 212.7 MB / 0.9323 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)