Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009221, allocations: 178.4 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008084, allocations: 101.7 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 15.03 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7608/0.9596, allocations: 387.6 MB / 1.28 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.9599, allocations: 89.83 kB / 1.28 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.1904/1.15, allocations: 100.6 MB / 1.378 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.293e-06/1.15, allocations: 0 / 1.378 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.257e-05/1.15, allocations: 4 kB / 1.378 GB, free: 3.547 MB / 0.8698 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.001061/1.151, allocations: 0.7118 MB / 1.379 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.151, allocations: 8.031 kB / 1.379 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/1.152, allocations: 52.36 kB / 1.379 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/1.163, allocations: 5.9 MB / 1.385 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/1.163, allocations: 16.94 kB / 1.385 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/1.163, allocations: 28.75 kB / 1.385 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/1.163, allocations: 310.1 kB / 1.385 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.163, allocations: 4 kB / 1.385 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/1.163, allocations: 8 kB / 1.385 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/1.163, allocations: 8 kB / 1.385 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/1.164, allocations: 202.1 kB / 1.385 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.166, allocations: 1.481 MB / 1.387 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/1.166, allocations: 166.6 kB / 1.387 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/1.166, allocations: 68.81 kB / 1.387 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/1.166, allocations: 93.09 kB / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/1.167, allocations: 128.9 kB / 1.387 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/1.167, allocations: 0 / 1.387 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006235/1.167, allocations: 250.8 kB / 1.387 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.167, allocations: 59.39 kB / 1.387 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/1.168, allocations: 329.6 kB / 1.388 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/1.168, allocations: 29.7 kB / 1.388 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/1.168, allocations: 215.7 kB / 1.388 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/1.168, allocations: 55.3 kB / 1.388 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/1.168, allocations: 4 kB / 1.388 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.168, allocations: 346.7 kB / 1.388 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/1.168, allocations: 71.95 kB / 1.388 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/1.169, allocations: 157.3 kB / 1.388 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/1.169, allocations: 261.1 kB / 1.389 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.169, allocations: 0 / 1.389 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005435/1.17, allocations: 321.2 kB / 1.389 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.17, allocations: 33.64 kB / 1.389 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.17, allocations: 4 kB / 1.389 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.17, allocations: 4 kB / 1.389 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.17, allocations: 60.19 kB / 1.389 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/1.17, allocations: 8 kB / 1.389 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/1.17, allocations: 43.59 kB / 1.389 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/1.17, allocations: 16 kB / 1.389 GB, free: 7.672 MB / 0.8855 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.0001464/1.17, allocations: 153.8 kB / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/1.17, allocations: 35.61 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/1.171, allocations: 200.5 kB / 1.39 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.171, allocations: 0 / 1.39 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.171, allocations: 0 / 1.39 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004454/1.171, allocations: 0.4972 MB / 1.39 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/1.172, allocations: 357.3 kB / 1.39 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.172, allocations: 0 / 1.39 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.172, allocations: 27.98 kB / 1.39 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.172, allocations: 0 / 1.39 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.172, allocations: 8 kB / 1.39 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.172, allocations: 4 kB / 1.39 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.172, allocations: 0 / 1.39 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/1.173, allocations: 304.4 kB / 1.391 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.173, allocations: 128.8 kB / 1.391 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.173, allocations: 0 / 1.391 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/1.173, allocations: 27.91 kB / 1.391 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/1.173, allocations: 11.98 kB / 1.391 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/1.173, allocations: 19.86 kB / 1.391 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002049/1.173, allocations: 235.2 kB / 1.391 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 3.938 kB / 1.391 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004196/1.174, allocations: 131.9 kB / 1.391 GB, free: 5.379 MB / 0.8855 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.0003199/1.174, allocations: 216.9 kB / 1.391 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004327/1.174, allocations: 241.8 kB / 1.392 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.174, allocations: 4.062 kB / 1.392 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/1.175, allocations: 71.95 kB / 1.392 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/1.175, allocations: 201.6 kB / 1.392 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/1.177, allocations: 0.9403 MB / 1.393 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.177, allocations: 0.796 MB / 1.394 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002464/1.177, allocations: 71.17 kB / 1.394 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/1.177, allocations: 35.38 kB / 1.394 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/1.177, allocations: 0 / 1.394 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of Templates: time 0.3728/1.55, allocations: 6.962 MB / 1.401 GB, free: 294.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)