Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.00113/0.00113, allocations: 176.8 kB / 361.4 MB, free: 6.816 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.247/1.247, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008182/0.0008183, allocations: 96.45 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.021e-05, allocations: 8 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5369, allocations: 115.3 MB / 0.9644 GB, free: 79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.7052, allocations: 143.7 MB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.7054, allocations: 91 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03225/0.7377, allocations: 12.4 MB / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7377, allocations: 0 / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.929e-05/0.7378, allocations: 8 kB / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001003/0.7388, allocations: 0.6618 MB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7388, allocations: 15.97 kB / 1.118 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.739, allocations: 60.28 kB / 1.118 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.7397, allocations: 415.2 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.7397, allocations: 4 kB / 1.118 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.7398, allocations: 8 kB / 1.118 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001876/0.74, allocations: 76.45 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.7402, allocations: 116.2 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7402, allocations: 0 / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7402, allocations: 4 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7402, allocations: 6.312 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.7413, allocations: 0.6255 MB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.7416, allocations: 123.5 kB / 1.119 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.7417, allocations: 40.84 kB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.7417, allocations: 0 / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.7419, allocations: 102.2 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.7419, allocations: 0 / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003345/0.7422, allocations: 161.1 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.7423, allocations: 55.41 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.7429, allocations: 0.5448 MB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.743, allocations: 29.7 kB / 1.12 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.7432, allocations: 264.3 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.7432, allocations: 31.59 kB / 1.12 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.7433, allocations: 0 / 1.12 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7434, allocations: 366.8 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.7436, allocations: 87.97 kB / 1.121 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.7437, allocations: 116.3 kB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.744, allocations: 91.95 kB / 1.121 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.744, allocations: 0 / 1.121 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004589/0.7445, allocations: 284.8 kB / 1.121 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7445, allocations: 4 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7445, allocations: 0 / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7446, allocations: 4 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.7447, allocations: 43.98 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7448, allocations: 0 / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.745, allocations: 31.81 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.745, allocations: 11.94 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 9.077e-05/0.7451, allocations: 119 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.7452, allocations: 59.3 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.7455, allocations: 171.3 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7455, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7455, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7455, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.7459, allocations: 342 kB / 1.122 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.7459, allocations: 0 / 1.122 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.746, allocations: 14 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.746, allocations: 0 / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.746, allocations: 7.953 kB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.746, allocations: 3.984 kB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.746, allocations: 4 kB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.7464, allocations: 241.6 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7465, allocations: 124.5 kB / 1.122 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.7466, allocations: 8 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.7467, allocations: 19.94 kB / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.7468, allocations: 28.02 kB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.7468, allocations: 5.5 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004435/0.7473, allocations: 394.9 kB / 1.123 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7473, allocations: 0 / 1.123 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003438/0.7476, allocations: 75.77 kB / 1.123 GB, free: 9.465 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.0008731/0.7485, allocations: 406 kB / 1.123 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.7488, allocations: 143.9 kB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7488, allocations: 0 / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.7489, allocations: 51.94 kB / 1.123 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.7493, allocations: 67.19 kB / 1.123 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.7503, allocations: 0.5847 MB / 1.124 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.7508, allocations: 0.8692 MB / 1.125 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.7509, allocations: 45.66 kB / 1.125 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.751, allocations: 27.44 kB / 1.125 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.751, allocations: 0 / 1.125 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of Templates: time 0.00789/0.7589, allocations: 3.527 MB / 1.128 GB, free: 3.918 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)