Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006657/0.0006658, allocations: 15.94 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6348, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002959/0.6379, allocations: 1.957 MB / 0.7299 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.6397, allocations: 1.141 MB / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.6399, allocations: 3.938 kB / 0.731 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.6404, allocations: 199.3 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.6408, allocations: 135.6 kB / 0.7313 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.6411, allocations: 109 kB / 0.7314 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.6414, allocations: 203.5 kB / 0.7316 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.6416, allocations: 58.88 kB / 0.7317 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.6417, allocations: 111.5 kB / 0.7318 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.6419, allocations: 123.4 kB / 0.7319 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.6419, allocations: 8 kB / 0.7319 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.642, allocations: 23.98 kB / 0.7319 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6422, allocations: 107.6 kB / 0.732 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.6423, allocations: 93.39 kB / 0.7321 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.6426, allocations: 355.1 kB / 0.7325 GB, free: 6.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6426, allocations: 0 / 0.7325 GB, free: 6.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6426, allocations: 0 / 0.7325 GB, free: 6.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.6427, allocations: 4 kB / 0.7325 GB, free: 6.836 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001102/0.6438, allocations: 0.7141 MB / 0.7332 GB, free: 6.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6438, allocations: 12.03 kB / 0.7332 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.6439, allocations: 55.3 kB / 0.7332 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.6444, allocations: 375.1 kB / 0.7336 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.6445, allocations: 12 kB / 0.7336 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.6445, allocations: 12 kB / 0.7336 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.6448, allocations: 125.6 kB / 0.7337 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6448, allocations: 0 / 0.7337 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.6448, allocations: 7.984 kB / 0.7337 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6448, allocations: 4 kB / 0.7337 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.645, allocations: 87.78 kB / 0.7338 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.6461, allocations: 0.6328 MB / 0.7344 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.6465, allocations: 122.7 kB / 0.7346 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.6465, allocations: 4.031 kB / 0.7346 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.6468, allocations: 99.31 kB / 0.7346 GB, free: 4.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.6468, allocations: 4 kB / 0.7347 GB, free: 4.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0004321/0.6472, allocations: 205.1 kB / 0.7348 GB, free: 4.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.6473, allocations: 55.41 kB / 0.7349 GB, free: 4.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.648, allocations: 0.6163 MB / 0.7355 GB, free: 3.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.648, allocations: 33.7 kB / 0.7355 GB, free: 3.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.6483, allocations: 256.1 kB / 0.7358 GB, free: 3.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.6483, allocations: 39.55 kB / 0.7358 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.6484, allocations: 4 kB / 0.7358 GB, free: 3.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.6486, allocations: 374.7 kB / 0.7362 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6487, allocations: 79.91 kB / 0.7363 GB, free: 2.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.6489, allocations: 108.3 kB / 0.7364 GB, free: 2.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.6491, allocations: 71.98 kB / 0.7364 GB, free: 2.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.6491, allocations: 0 / 0.7364 GB, free: 2.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004113/0.6495, allocations: 267.9 kB / 0.7367 GB, free: 2.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6495, allocations: 8 kB / 0.7367 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6496, allocations: 0 / 0.7367 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6496, allocations: 0 / 0.7367 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.6497, allocations: 31.98 kB / 0.7367 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6497, allocations: 4 kB / 0.7367 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.6499, allocations: 23.98 kB / 0.7367 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.65, allocations: 11.92 kB / 0.7368 GB, free: 2.203 MB / 0.545 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,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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 0.0002412/0.6502, allocations: 205.7 kB / 0.737 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.6503, allocations: 55.34 kB / 0.737 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.6504, allocations: 56.5 kB / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6504, allocations: 0 / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6504, allocations: 0 / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6504, allocations: 3.984 kB / 0.7371 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.6508, allocations: 369.3 kB / 0.7374 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6508, allocations: 0 / 0.7374 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.6508, allocations: 15.94 kB / 0.7374 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6509, allocations: 0 / 0.7374 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.6509, allocations: 7.984 kB / 0.7374 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6509, allocations: 3.938 kB / 0.7374 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6509, allocations: 0 / 0.7374 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.6513, allocations: 240.4 kB / 0.7377 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6514, allocations: 124.5 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.6515, allocations: 12 kB / 0.7378 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6516, allocations: 16.05 kB / 0.7378 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.6517, allocations: 27.95 kB / 0.7378 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.6517, allocations: 4 kB / 0.7378 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004476/0.6522, allocations: 410.8 kB / 0.7382 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6522, allocations: 0 / 0.7382 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002752/0.6525, allocations: 59.84 kB / 0.7383 GB, free: 0.5312 MB / 0.545 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.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.000954/0.6534, allocations: 424.7 kB / 0.7387 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.6538, allocations: 147.9 kB / 0.7388 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6538, allocations: 0 / 0.7388 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6539, allocations: 51.92 kB / 0.7389 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.6542, allocations: 66.53 kB / 0.739 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.6555, allocations: 0.8933 MB / 0.7398 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.656, allocations: 0.8627 MB / 0.7407 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.6561, allocations: 34.28 kB / 0.7407 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.6562, allocations: 31.42 kB / 0.7407 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.6562, allocations: 0 / 0.7407 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.007854/0.6641, allocations: 3.218 MB / 0.7439 GB, free: 10.95 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) Environment - environmentSimulation: