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.718/1.718, allocations: 285.4 MB / 298 MB, free: 6.039 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.00108/0.00108, allocations: 176.8 kB / 366.4 MB, free: 2.102 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.21/1.21, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008053/0.0008053, allocations: 100.2 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.796e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5489, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.7225, allocations: 144.3 MB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.7228, allocations: 83.95 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0341/0.7569, allocations: 12.53 MB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.693e-06/0.757, allocations: 0 / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.201e-05/0.757, allocations: 8 kB / 1.124 GB, free: 10.81 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.00103/0.7581, allocations: 0.6657 MB / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7581, allocations: 8.031 kB / 1.125 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.7583, allocations: 59.25 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.759, allocations: 423.2 kB / 1.125 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.7591, allocations: 12.23 kB / 1.125 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.7591, allocations: 12 kB / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.7594, allocations: 132.5 kB / 1.125 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7594, allocations: 0 / 1.125 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.7595, allocations: 8 kB / 1.125 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7595, allocations: 4 kB / 1.125 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.7597, allocations: 87.91 kB / 1.126 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.7608, allocations: 0.6602 MB / 1.126 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.7611, allocations: 126.5 kB / 1.126 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.7612, allocations: 49.03 kB / 1.126 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.7613, allocations: 0 / 1.126 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.7615, allocations: 99.38 kB / 1.126 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.7615, allocations: 0 / 1.126 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003273/0.7618, allocations: 173.1 kB / 1.127 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.7619, allocations: 51.41 kB / 1.127 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/0.7626, allocations: 0.5713 MB / 1.127 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.7626, allocations: 29.7 kB / 1.127 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.7628, allocations: 268.3 kB / 1.128 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.7629, allocations: 35.59 kB / 1.128 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.7629, allocations: 4 kB / 1.128 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7631, allocations: 370.7 kB / 1.128 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.7632, allocations: 91.72 kB / 1.128 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.7634, allocations: 116.3 kB / 1.128 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.7636, allocations: 95.44 kB / 1.128 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7636, allocations: 0 / 1.128 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004308/0.764, allocations: 284.8 kB / 1.128 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.764, allocations: 9.406 kB / 1.128 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7641, allocations: 0 / 1.128 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7641, allocations: 0 / 1.128 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.7643, allocations: 35.92 kB / 1.128 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7643, allocations: 4 kB / 1.129 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.7645, allocations: 39.84 kB / 1.129 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.7645, allocations: 11.94 kB / 1.129 GB, free: 6.113 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.768e-05/0.7646, allocations: 120.9 kB / 1.129 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.7647, allocations: 51.34 kB / 1.129 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.765, allocations: 188.7 kB / 1.129 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7651, allocations: 4 kB / 1.129 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7651, allocations: 7.984 kB / 1.129 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7651, allocations: 0 / 1.129 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.7654, allocations: 379 kB / 1.129 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7655, allocations: 4 kB / 1.129 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.7655, allocations: 8 kB / 1.129 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.7655, allocations: 0 / 1.129 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.7656, allocations: 3.984 kB / 1.129 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7656, allocations: 4 kB / 1.129 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7656, allocations: 3.938 kB / 1.129 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.766, allocations: 252.4 kB / 1.13 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.7661, allocations: 132.4 kB / 1.13 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.7662, allocations: 4 kB / 1.13 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.7663, allocations: 15.98 kB / 1.13 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.7664, allocations: 27.95 kB / 1.13 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.7664, allocations: 5.938 kB / 1.13 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004776/0.7669, allocations: 433.5 kB / 1.13 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7669, allocations: 0 / 1.13 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003257/0.7672, allocations: 79.78 kB / 1.13 GB, free: 4.332 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.0008943/0.7682, allocations: 424.2 kB / 1.131 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.7684, allocations: 151.8 kB / 1.131 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7685, allocations: 0 / 1.131 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.7686, allocations: 55.92 kB / 1.131 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.7689, allocations: 65.11 kB / 1.131 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.7699, allocations: 0.5892 MB / 1.131 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.7704, allocations: 0.8691 MB / 1.132 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.7705, allocations: 40.39 kB / 1.132 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.7706, allocations: 31.42 kB / 1.132 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.7706, allocations: 0 / 1.132 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of Templates: time 0.009577/0.7802, allocations: 4.16 MB / 1.136 GB, free: 14.14 MB / 0.7448 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)