Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.996/4.996, allocations: 0.5623 GB / 0.5775 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002558, allocations: 361.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.349/4.349, allocations: 410.7 MB / 1.113 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001845/0.001845, allocations: 188.4 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004988, allocations: 12 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7247, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003479/0.7283, allocations: 2.054 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.7315, allocations: 1.309 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.7318, allocations: 6.094 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.7327, allocations: 198.5 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.7332, allocations: 133.1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.7339, allocations: 124 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.7344, allocations: 306.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.7347, allocations: 67.16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.7349, allocations: 115.4 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.7352, allocations: 128.6 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.7353, allocations: 8 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.7355, allocations: 48.34 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.7357, allocations: 108.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.7358, allocations: 89.45 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.7364, allocations: 379.1 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7365, allocations: 1 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7365, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7365, allocations: 0 / 1.466 GB, free: 279.3 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00178/0.7383, allocations: 0.7462 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.7384, allocations: 11.62 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.7385, allocations: 64.23 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.7394, allocations: 399.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.7395, allocations: 13.23 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.7396, allocations: 12 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.7401, allocations: 140.2 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.7402, allocations: 0 / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.7402, allocations: 5.5 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7402, allocations: 7.953 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.7406, allocations: 79.95 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.7426, allocations: 0.6541 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.7433, allocations: 131.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.7435, allocations: 46.75 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.7436, allocations: 4 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.744, allocations: 116.9 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 3.476e-06/0.744, allocations: 0 / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0008236/0.7448, allocations: 206.8 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.745, allocations: 52 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.7463, allocations: 0.6481 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.7464, allocations: 34.55 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.7467, allocations: 256.4 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.7468, allocations: 43.88 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.7468, allocations: 9.25 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.747, allocations: 370.8 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.7473, allocations: 77.16 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.7476, allocations: 118.6 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.7479, allocations: 74.11 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7479, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007886/0.7487, allocations: 268 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7488, allocations: 4.594 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.7488, allocations: 6.594 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7488, allocations: 0 / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.7492, allocations: 39.97 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.7493, allocations: 4 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.7497, allocations: 29.05 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.7498, allocations: 11.95 kB / 1.471 GB, free: 274.5 MB / 0.8542 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.0003874/0.7502, allocations: 211.5 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.7503, allocations: 52.66 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.7505, allocations: 59.5 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.7505, allocations: 0 / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.7505, allocations: 0 / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.7507, allocations: 128.4 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7508, allocations: 7.953 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.7511, allocations: 20.61 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.7512, allocations: 24.86 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000733/0.752, allocations: 230.7 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000838/0.7529, allocations: 399.5 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002123/0.7531, allocations: 59.94 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009022/0.754, allocations: 425.8 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of Backend: time 7.11e-07/0.754, allocations: 0 / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.7568, allocations: 0.5149 MB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00257/0.7594, allocations: 1.402 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01595/0.7753, allocations: 3.708 MB / 1.478 GB, free: 267.6 MB / 0.8542 GB