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.001052/0.001052, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001184/0.001184, allocations: 197.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.535/1.535, allocations: 251.6 MB / 0.5089 GB, free: 3.254 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.001676/0.001676, allocations: 64.47 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6074, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004247/0.6117, allocations: 2.393 MB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.6136, allocations: 1.238 MB / 0.7275 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.6137, allocations: 4 kB / 0.7275 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.6144, allocations: 205.1 kB / 0.7277 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.6147, allocations: 131.5 kB / 0.7279 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.615, allocations: 123.8 kB / 0.728 GB, free: 9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.6154, allocations: 319 kB / 0.7283 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.6156, allocations: 76.72 kB / 0.7284 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.6158, allocations: 131.4 kB / 0.7285 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.6159, allocations: 151.2 kB / 0.7286 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.616, allocations: 20 kB / 0.7286 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.6161, allocations: 55.97 kB / 0.7287 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.6163, allocations: 119.5 kB / 0.7288 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.6164, allocations: 182.7 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.617, allocations: 470.2 kB / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.617, allocations: 4 kB / 0.7294 GB, free: 7.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.617, allocations: 0 / 0.7294 GB, free: 7.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.617, allocations: 0 / 0.7294 GB, free: 7.5 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.001207/0.6182, allocations: 0.7656 MB / 0.7302 GB, free: 6.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6183, allocations: 19.97 kB / 0.7302 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.6184, allocations: 52.28 kB / 0.7303 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.6188, allocations: 407.8 kB / 0.7306 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6188, allocations: 8.375 kB / 0.7307 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.6189, allocations: 20.12 kB / 0.7307 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.6191, allocations: 137.4 kB / 0.7308 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6191, allocations: 0 / 0.7308 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.6192, allocations: 0 / 0.7308 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6192, allocations: 4 kB / 0.7308 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.6194, allocations: 79.95 kB / 0.7309 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.6202, allocations: 0.6134 MB / 0.7315 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.6206, allocations: 126.7 kB / 0.7316 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.6207, allocations: 44.84 kB / 0.7316 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.6207, allocations: 3.938 kB / 0.7317 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.621, allocations: 103.3 kB / 0.7318 GB, free: 4.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.621, allocations: 0 / 0.7318 GB, free: 4.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0003986/0.6214, allocations: 205.2 kB / 0.7319 GB, free: 4.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6215, allocations: 51.41 kB / 0.732 GB, free: 4.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.6223, allocations: 0.6279 MB / 0.7326 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6223, allocations: 33.69 kB / 0.7326 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6225, allocations: 252.3 kB / 0.7329 GB, free: 3.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.6225, allocations: 35.55 kB / 0.7329 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.6226, allocations: 49.7 kB / 0.733 GB, free: 3.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6228, allocations: 370.8 kB / 0.7333 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6229, allocations: 79.97 kB / 0.7334 GB, free: 3.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6231, allocations: 104.3 kB / 0.7335 GB, free: 3.117 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6233, allocations: 141 kB / 0.7336 GB, free: 2.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6233, allocations: 0 / 0.7336 GB, free: 2.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003852/0.6237, allocations: 264.8 kB / 0.7339 GB, free: 2.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6237, allocations: 10.19 kB / 0.7339 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6237, allocations: 0 / 0.7339 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6238, allocations: 0 / 0.7339 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6239, allocations: 31.92 kB / 0.7339 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6239, allocations: 0 / 0.7339 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.6241, allocations: 27.83 kB / 0.7339 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6241, allocations: 12.03 kB / 0.734 GB, free: 2.633 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.6243, allocations: 206.8 kB / 0.7342 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.6244, allocations: 51.28 kB / 0.7342 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.6245, allocations: 56.5 kB / 0.7343 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6245, allocations: 4 kB / 0.7343 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6245, allocations: 0 / 0.7343 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6245, allocations: 0 / 0.7343 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.6249, allocations: 361.4 kB / 0.7346 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6249, allocations: 7.984 kB / 0.7346 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.6249, allocations: 8 kB / 0.7346 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.6249, allocations: 7.938 kB / 0.7346 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.625, allocations: 0 / 0.7346 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.625, allocations: 0 / 0.7346 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.625, allocations: 7.922 kB / 0.7346 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.6254, allocations: 256.3 kB / 0.7349 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.6255, allocations: 128.4 kB / 0.735 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.6255, allocations: 12.06 kB / 0.735 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6257, allocations: 11.98 kB / 0.735 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.6257, allocations: 19.97 kB / 0.735 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6257, allocations: 8 kB / 0.7351 GB, free: 1.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004482/0.6262, allocations: 418.8 kB / 0.7355 GB, free: 1.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6262, allocations: 0 / 0.7355 GB, free: 1.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002727/0.6265, allocations: 55.91 kB / 0.7355 GB, free: 0.9531 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.6276, allocations: 419.3 kB / 0.7359 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.6279, allocations: 147.9 kB / 0.736 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6279, allocations: 0 / 0.736 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.6281, allocations: 63.84 kB / 0.7361 GB, free: 496 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.6285, allocations: 66.81 kB / 0.7362 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.6298, allocations: 0.9152 MB / 0.7371 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.6302, allocations: 0.8508 MB / 0.7379 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.6303, allocations: 38.27 kB / 0.7379 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.6304, allocations: 31.42 kB / 0.738 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6304, allocations: 3.938 kB / 0.738 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.007403/0.6378, allocations: 3.455 MB / 0.7413 GB, free: 11.11 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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)