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.742/1.742, allocations: 285.4 MB / 298 MB, free: 5.984 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.001045/0.001045, allocations: 172.8 kB / 366.4 MB, free: 2.082 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.654/1.654, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0009497/0.0009497, allocations: 89.33 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.018e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7692, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.881, allocations: 395.1 MB / 1.357 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.882, allocations: 92.56 kB / 1.357 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2097/2.091, allocations: 103.7 MB / 1.458 GB, free: 75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/2.091, allocations: 0 / 1.458 GB, free: 75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.368e-05/2.091, allocations: 8 kB / 1.458 GB, free: 74.99 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.001249/2.093, allocations: 0.6581 MB / 1.459 GB, free: 74.28 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/2.093, allocations: 8.031 kB / 1.459 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/2.093, allocations: 51.42 kB / 1.459 GB, free: 74.22 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/2.107, allocations: 6.658 MB / 1.465 GB, free: 67.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/2.108, allocations: 20.56 kB / 1.465 GB, free: 67.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/2.108, allocations: 24 kB / 1.465 GB, free: 67.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/2.108, allocations: 294.2 kB / 1.466 GB, free: 67.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/2.109, allocations: 0 / 1.466 GB, free: 67.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/2.109, allocations: 12 kB / 1.466 GB, free: 67.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/2.109, allocations: 4 kB / 1.466 GB, free: 67.08 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/2.109, allocations: 154.2 kB / 1.466 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/2.112, allocations: 1.497 MB / 1.467 GB, free: 65.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.112, allocations: 134.6 kB / 1.467 GB, free: 65.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/2.112, allocations: 48.86 kB / 1.467 GB, free: 65.12 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/2.112, allocations: 85.09 kB / 1.467 GB, free: 65.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/2.113, allocations: 111.3 kB / 1.468 GB, free: 64.89 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.507e-06/2.113, allocations: 0 / 1.468 GB, free: 64.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004592/2.113, allocations: 161.2 kB / 1.468 GB, free: 64.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/2.113, allocations: 59.34 kB / 1.468 GB, free: 64.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/2.114, allocations: 307.5 kB / 1.468 GB, free: 64.36 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/2.114, allocations: 33.7 kB / 1.468 GB, free: 64.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/2.114, allocations: 211.9 kB / 1.468 GB, free: 64.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/2.114, allocations: 51.3 kB / 1.468 GB, free: 64.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/2.114, allocations: 4 kB / 1.468 GB, free: 64.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001045/2.114, allocations: 338.8 kB / 1.469 GB, free: 63.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/2.114, allocations: 55.98 kB / 1.469 GB, free: 63.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/2.114, allocations: 130.4 kB / 1.469 GB, free: 63.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/2.114, allocations: 98.12 kB / 1.469 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/2.114, allocations: 4 kB / 1.469 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005094/2.115, allocations: 280.3 kB / 1.469 GB, free: 63.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/2.115, allocations: 38.64 kB / 1.469 GB, free: 63.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.115, allocations: 7.938 kB / 1.469 GB, free: 63.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/2.115, allocations: 7.984 kB / 1.469 GB, free: 63.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/2.115, allocations: 63.84 kB / 1.469 GB, free: 62.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/2.115, allocations: 4 kB / 1.469 GB, free: 62.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/2.116, allocations: 39.95 kB / 1.469 GB, free: 62.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/2.116, allocations: 17.8 kB / 1.469 GB, free: 62.93 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 0.0001247/2.116, allocations: 116.9 kB / 1.469 GB, free: 62.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/2.116, allocations: 31.62 kB / 1.47 GB, free: 62.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/2.116, allocations: 166.3 kB / 1.47 GB, free: 62.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/2.116, allocations: 4 kB / 1.47 GB, free: 62.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/2.116, allocations: 11.94 kB / 1.47 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003044/2.117, allocations: 459.7 kB / 1.47 GB, free: 62.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/2.117, allocations: 349.4 kB / 1.47 GB, free: 61.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.117, allocations: 0 / 1.47 GB, free: 61.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/2.117, allocations: 31.98 kB / 1.47 GB, free: 61.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/2.117, allocations: 3.938 kB / 1.47 GB, free: 61.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/2.117, allocations: 4 kB / 1.47 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/2.117, allocations: 0 / 1.47 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.117, allocations: 4 kB / 1.47 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/2.118, allocations: 245.4 kB / 1.471 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/2.118, allocations: 132.7 kB / 1.471 GB, free: 61.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/2.118, allocations: 4 kB / 1.471 GB, free: 61.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/2.118, allocations: 23.89 kB / 1.471 GB, free: 61.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/2.118, allocations: 15.97 kB / 1.471 GB, free: 61.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/2.118, allocations: 11.98 kB / 1.471 GB, free: 61.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002264/2.119, allocations: 238.2 kB / 1.471 GB, free: 60.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.91e-07/2.119, allocations: 0 / 1.471 GB, free: 60.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005221/2.119, allocations: 148 kB / 1.471 GB, free: 60.79 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.0004697/2.12, allocations: 241.2 kB / 1.472 GB, free: 60.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000315/2.12, allocations: 198.6 kB / 1.472 GB, free: 60.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.12, allocations: 0.625 kB / 1.472 GB, free: 60.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/2.12, allocations: 51.94 kB / 1.472 GB, free: 60.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/2.121, allocations: 192.7 kB / 1.472 GB, free: 60.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/2.122, allocations: 0.5381 MB / 1.472 GB, free: 59.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/2.122, allocations: 0.8001 MB / 1.473 GB, free: 58.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003146/2.123, allocations: 65.2 kB / 1.473 GB, free: 58.65 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/2.123, allocations: 47.3 kB / 1.473 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/2.123, allocations: 0 / 1.473 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.01288/2.136, allocations: 7.322 MB / 1.48 GB, free: 51.38 MB / 0.8542 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)