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.748/1.748, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.001064/0.001064, allocations: 182.2 kB / 371.8 MB, free: 10.28 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.644/1.644, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.000922/0.0009218, allocations: 102.6 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 15.92 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.26, allocations: 395.1 MB / 1.365 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.26, allocations: 94.44 kB / 1.365 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8029/2.063, allocations: 104 MB / 1.467 GB, free: 311 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.026e-06/2.063, allocations: 0 / 1.467 GB, free: 311 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.154e-05/2.063, allocations: 7.594 kB / 1.467 GB, free: 311 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.001904/2.065, allocations: 0.7203 MB / 1.468 GB, free: 310.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/2.065, allocations: 11.33 kB / 1.468 GB, free: 310.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/2.066, allocations: 46.25 kB / 1.468 GB, free: 310.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/2.085, allocations: 6.72 MB / 1.474 GB, free: 306.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/2.085, allocations: 16.44 kB / 1.474 GB, free: 306.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/2.085, allocations: 31.5 kB / 1.474 GB, free: 306.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/2.086, allocations: 314.2 kB / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/2.086, allocations: 0 / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/2.086, allocations: 11.97 kB / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/2.086, allocations: 3.906 kB / 1.475 GB, free: 306.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/2.087, allocations: 203.3 kB / 1.475 GB, free: 306 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/2.089, allocations: 1.495 MB / 1.476 GB, free: 304.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/2.09, allocations: 172.5 kB / 1.476 GB, free: 304.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/2.09, allocations: 81.48 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/2.091, allocations: 132.8 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.337e-06/2.091, allocations: 0 / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0008657/2.092, allocations: 247.5 kB / 1.477 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/2.092, allocations: 58.94 kB / 1.477 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/2.092, allocations: 312.4 kB / 1.477 GB, free: 304 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/2.092, allocations: 33.67 kB / 1.477 GB, free: 303.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/2.092, allocations: 207.3 kB / 1.477 GB, free: 303.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/2.092, allocations: 57.42 kB / 1.478 GB, free: 303.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/2.092, allocations: 4 kB / 1.478 GB, free: 303.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001319/2.093, allocations: 350.7 kB / 1.478 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/2.093, allocations: 79.2 kB / 1.478 GB, free: 303.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/2.093, allocations: 156.5 kB / 1.478 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/2.093, allocations: 120.8 kB / 1.478 GB, free: 303.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.093, allocations: 0 / 1.478 GB, free: 303.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007621/2.094, allocations: 323 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/2.094, allocations: 41.25 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/2.094, allocations: 0 / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/2.094, allocations: 3.75 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/2.095, allocations: 56.56 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/2.095, allocations: 6.906 kB / 1.479 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/2.095, allocations: 46.97 kB / 1.479 GB, free: 302.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/2.095, allocations: 14.69 kB / 1.479 GB, free: 302.8 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.0002269/2.095, allocations: 158.1 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/2.096, allocations: 33.97 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/2.096, allocations: 208.8 kB / 1.479 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/2.096, allocations: 3.562 kB / 1.479 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.096, allocations: 0 / 1.479 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005595/2.097, allocations: 494.4 kB / 1.48 GB, free: 302 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/2.097, allocations: 355.7 kB / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.097, allocations: 0 / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/2.098, allocations: 31.52 kB / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/2.098, allocations: 3.938 kB / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/2.098, allocations: 7.984 kB / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/2.098, allocations: 3.438 kB / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.098, allocations: 0 / 1.48 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/2.098, allocations: 297.2 kB / 1.48 GB, free: 301.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/2.099, allocations: 130.4 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/2.099, allocations: 12 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/2.099, allocations: 16.23 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/2.099, allocations: 19.28 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/2.099, allocations: 10.61 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000339/2.1, allocations: 248 kB / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/2.1, allocations: 0 / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000818/2.1, allocations: 140 kB / 1.481 GB, free: 301.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.000517/2.101, allocations: 254.8 kB / 1.481 GB, free: 301 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006478/2.102, allocations: 234.2 kB / 1.481 GB, free: 300.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.102, allocations: 128 / 1.481 GB, free: 300.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/2.102, allocations: 85.8 kB / 1.481 GB, free: 300.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/2.103, allocations: 182.5 kB / 1.481 GB, free: 300.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/2.105, allocations: 0.9498 MB / 1.482 GB, free: 300 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/2.105, allocations: 0.7949 MB / 1.483 GB, free: 299.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003962/2.106, allocations: 69.5 kB / 1.483 GB, free: 299.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/2.106, allocations: 42.8 kB / 1.483 GB, free: 299.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.263e-06/2.106, allocations: 0 / 1.483 GB, free: 299.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.01741/2.123, allocations: 7.16 MB / 1.49 GB, free: 295.6 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)