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.606/4.606, allocations: 0.5623 GB / 0.5769 GB, free: 3.402 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.002471/0.00247, allocations: 355.1 kB / 0.644 GB, free: 185.7 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 3.908/3.908, allocations: 410.7 MB / 1.112 GB, free: 6.047 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.001782/0.001782, allocations: 183.4 kB / 1.225 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 12 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5723, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002454/0.5748, allocations: 2.053 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.5768, allocations: 1.307 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.5769, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.5775, allocations: 203.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.5778, allocations: 129.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.5782, allocations: 121.9 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.5785, allocations: 306.9 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.5787, allocations: 67.61 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.5789, allocations: 115.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.579, allocations: 132 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.5791, allocations: 9.625 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.5792, allocations: 43.91 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.5793, allocations: 107.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.5794, allocations: 93.44 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.5798, allocations: 379.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.989e-06/0.5798, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.595e-06/0.5798, allocations: 0.875 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.896e-06/0.5798, 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.0009893/0.5808, allocations: 0.7471 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5809, allocations: 11.62 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.581, allocations: 63.2 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.5815, allocations: 399.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.5816, allocations: 13.11 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.5816, allocations: 12 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.5819, allocations: 134.3 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.582, allocations: 1.656 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.582, allocations: 4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-06/0.582, allocations: 9.203 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.5822, allocations: 79.95 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.5833, allocations: 0.6543 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.5837, allocations: 124.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5839, allocations: 49.98 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.5839, allocations: 4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.5842, allocations: 111.1 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.564e-06/0.5842, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.000482/0.5847, allocations: 205 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.5847, allocations: 52.84 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.5855, allocations: 0.6552 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.5855, allocations: 29.7 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5857, allocations: 265.7 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.5857, allocations: 39.39 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.5858, allocations: 8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.5859, allocations: 368.1 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.586, allocations: 71.97 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5863, allocations: 120.3 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5864, allocations: 72.77 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-06/0.5865, allocations: 1.969 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004797/0.5869, allocations: 266.4 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.587, allocations: 8 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.602e-06/0.587, allocations: 0 / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.587, allocations: 6.078 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.5872, allocations: 35.98 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.71e-06/0.5873, allocations: 4 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.5875, allocations: 33.42 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5876, allocations: 13.45 kB / 1.47 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.0002321/0.5878, allocations: 207.3 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.5879, allocations: 51.34 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.588, allocations: 56.66 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-06/0.588, allocations: 2.281 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.124e-06/0.588, allocations: 3.984 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-06/0.588, allocations: 1 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.5884, allocations: 377.4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-06/0.5884, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.5885, allocations: 12.75 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.604e-06/0.5885, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.5885, allocations: 5.438 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-06/0.5885, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.707e-06/0.5885, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.589, allocations: 263.1 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5892, allocations: 129 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.5892, allocations: 4.656 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.5894, allocations: 22.02 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.5895, allocations: 23.95 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.5896, allocations: 4 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004903/0.5901, allocations: 423.4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.54e-07/0.5901, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003718/0.5905, allocations: 68.58 kB / 1.472 GB, free: 272.8 MB / 0.8542 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.001382/0.5918, allocations: 425 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.5922, allocations: 151.9 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.232e-06/0.5923, allocations: 0 / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.5924, allocations: 53.58 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.5929, allocations: 73.09 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.5943, allocations: 0.9398 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5946, allocations: 0.8713 MB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.5948, allocations: 39.44 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.5949, allocations: 31.42 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.481e-06/0.5949, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01111/0.606, allocations: 3.628 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB