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.0008694/0.0008695, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001148/0.001148, allocations: 172.7 kB / 15.95 MB, free: 208 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.65/1.65, allocations: 252 MB / 0.5102 GB, free: 4.855 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.0006954/0.0006957, allocations: 12 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5906, allocations: 106.3 MB / 0.7281 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00283/0.5935, allocations: 1.981 MB / 0.7301 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.5953, allocations: 1.156 MB / 0.7312 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.5955, allocations: 4 kB / 0.7312 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.596, allocations: 199.2 kB / 0.7314 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.5963, allocations: 127.4 kB / 0.7315 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.5966, allocations: 107.8 kB / 0.7316 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.5969, allocations: 271 kB / 0.7319 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.5971, allocations: 58.86 kB / 0.7319 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.5973, allocations: 115.4 kB / 0.732 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.5974, allocations: 131.4 kB / 0.7322 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.5975, allocations: 4 kB / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.5976, allocations: 31.94 kB / 0.7322 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.5977, allocations: 107.6 kB / 0.7323 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.5978, allocations: 93.39 kB / 0.7324 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.5982, allocations: 351.2 kB / 0.7327 GB, free: 6.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5982, allocations: 0 / 0.7327 GB, free: 6.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5982, allocations: 0 / 0.7327 GB, free: 6.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5982, allocations: 0 / 0.7327 GB, free: 6.742 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.0009916/0.5992, allocations: 0.7185 MB / 0.7334 GB, free: 5.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5992, allocations: 8.031 kB / 0.7334 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.5993, allocations: 59.3 kB / 0.7335 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.5998, allocations: 383.1 kB / 0.7339 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.5999, allocations: 11.94 kB / 0.7339 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.5999, allocations: 16 kB / 0.7339 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.6002, allocations: 125.5 kB / 0.734 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6002, allocations: 4 kB / 0.734 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6002, allocations: 4 kB / 0.734 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6002, allocations: 4 kB / 0.734 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.6004, allocations: 83.91 kB / 0.7341 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.6014, allocations: 0.6251 MB / 0.7347 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.6017, allocations: 122.7 kB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.6018, allocations: 40.84 kB / 0.7349 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.6019, allocations: 7.984 kB / 0.7349 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.6021, allocations: 99.36 kB / 0.735 GB, free: 4.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.6021, allocations: 0 / 0.735 GB, free: 4.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0004059/0.6025, allocations: 208.9 kB / 0.7352 GB, free: 4.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.6026, allocations: 51.41 kB / 0.7352 GB, free: 4.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.6033, allocations: 0.6202 MB / 0.7358 GB, free: 3.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.6033, allocations: 29.7 kB / 0.7358 GB, free: 3.344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.6035, allocations: 256.2 kB / 0.7361 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.6035, allocations: 35.55 kB / 0.7361 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.6036, allocations: 4 kB / 0.7361 GB, free: 3.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6037, allocations: 370.7 kB / 0.7365 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6039, allocations: 71.98 kB / 0.7365 GB, free: 2.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.604, allocations: 116.5 kB / 0.7367 GB, free: 2.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6042, allocations: 76.02 kB / 0.7367 GB, free: 2.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6042, allocations: 0 / 0.7367 GB, free: 2.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003773/0.6046, allocations: 266.8 kB / 0.737 GB, free: 2.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6046, allocations: 8 kB / 0.737 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.6046, allocations: 0 / 0.737 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6046, allocations: 0 / 0.737 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.6048, allocations: 35.86 kB / 0.737 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6048, allocations: 0 / 0.737 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.605, allocations: 32.02 kB / 0.7371 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.605, allocations: 4 kB / 0.7371 GB, free: 2.066 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.0002142/0.6052, allocations: 217.5 kB / 0.7373 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.6053, allocations: 51.34 kB / 0.7373 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/0.6054, allocations: 56.48 kB / 0.7374 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6054, allocations: 4 kB / 0.7374 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6054, allocations: 0 / 0.7374 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6054, allocations: 4 kB / 0.7374 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.6058, allocations: 373.3 kB / 0.7377 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6058, allocations: 0 / 0.7377 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.6058, allocations: 8 kB / 0.7377 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6059, allocations: 0 / 0.7377 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6059, allocations: 0 / 0.7377 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6059, allocations: 4 kB / 0.7377 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6059, allocations: 0 / 0.7377 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.6063, allocations: 256.6 kB / 0.738 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.6064, allocations: 124.6 kB / 0.7381 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.6065, allocations: 4 kB / 0.7381 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6066, allocations: 19.98 kB / 0.7381 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.6067, allocations: 23.95 kB / 0.7382 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.6067, allocations: 4 kB / 0.7382 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004357/0.6071, allocations: 414.8 kB / 0.7386 GB, free: 452 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6071, allocations: 4.062 kB / 0.7386 GB, free: 448 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002749/0.6074, allocations: 59.84 kB / 0.7386 GB, free: 388 kB / 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.0009928/0.6084, allocations: 411.8 kB / 0.739 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.6088, allocations: 151.8 kB / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6088, allocations: 0 / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.6089, allocations: 55.86 kB / 0.7392 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.6093, allocations: 62.95 kB / 0.7393 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.6105, allocations: 0.8932 MB / 0.7401 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.611, allocations: 0.8463 MB / 0.741 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.6111, allocations: 38.28 kB / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.6112, allocations: 31.42 kB / 0.741 GB, free: 14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6112, allocations: 0 / 0.741 GB, free: 14 MB / 0.5606 GB Notification: Performance of Templates: time 0.007834/0.6191, allocations: 3.218 MB / 0.7442 GB, free: 10.81 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: