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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001336/0.001337, allocations: 193.8 kB / 16.14 MB, free: 6.73 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.569/1.569, allocations: 205.1 MB / 222 MB, free: 4.727 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.606/1.606, allocations: 251.7 MB / 0.5088 GB, free: 3.305 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.001314/0.001314, allocations: 63.92 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6209, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003852/0.6248, allocations: 2.401 MB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.6268, allocations: 1.234 MB / 0.7274 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.627, allocations: 4 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.6277, allocations: 213.1 kB / 0.7276 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.628, allocations: 127.5 kB / 0.7277 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.6284, allocations: 126.2 kB / 0.7278 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.6288, allocations: 302.9 kB / 0.7281 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.629, allocations: 68.72 kB / 0.7282 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.6291, allocations: 111.4 kB / 0.7283 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.6293, allocations: 151.3 kB / 0.7284 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.6294, allocations: 8 kB / 0.7284 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.6295, allocations: 39.92 kB / 0.7285 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.6297, allocations: 107.6 kB / 0.7286 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.6298, allocations: 174.6 kB / 0.7287 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.6303, allocations: 446.3 kB / 0.7292 GB, free: 7.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6303, allocations: 4 kB / 0.7292 GB, free: 7.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.6303, allocations: 0 / 0.7292 GB, free: 7.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.6303, allocations: 0 / 0.7292 GB, free: 7.621 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.001091/0.6314, allocations: 0.7812 MB / 0.7299 GB, free: 6.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6315, allocations: 12.03 kB / 0.7299 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.6316, allocations: 52.28 kB / 0.73 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.6321, allocations: 399.8 kB / 0.7304 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6321, allocations: 8.375 kB / 0.7304 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.6321, allocations: 16.12 kB / 0.7304 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.6324, allocations: 142.6 kB / 0.7305 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6324, allocations: 0 / 0.7305 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.6324, allocations: 4 kB / 0.7305 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6325, allocations: 4 kB / 0.7305 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.6326, allocations: 75.97 kB / 0.7306 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.6336, allocations: 0.6134 MB / 0.7312 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.634, allocations: 130.7 kB / 0.7313 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.6341, allocations: 40.84 kB / 0.7314 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.6342, allocations: 3.938 kB / 0.7314 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.6344, allocations: 107.2 kB / 0.7315 GB, free: 5.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.784e-06/0.6344, allocations: 7.875 kB / 0.7315 GB, free: 5.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0004209/0.6349, allocations: 197 kB / 0.7317 GB, free: 4.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6349, allocations: 55.41 kB / 0.7317 GB, free: 4.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.6356, allocations: 0.6356 MB / 0.7323 GB, free: 4.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.6356, allocations: 29.7 kB / 0.7324 GB, free: 4.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.6358, allocations: 248.3 kB / 0.7326 GB, free: 3.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.6359, allocations: 35.55 kB / 0.7326 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.636, allocations: 53.69 kB / 0.7327 GB, free: 3.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6361, allocations: 366.8 kB / 0.733 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.6363, allocations: 75.97 kB / 0.7331 GB, free: 3.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.6365, allocations: 117.1 kB / 0.7332 GB, free: 3.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6367, allocations: 126.5 kB / 0.7333 GB, free: 3.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6367, allocations: 0 / 0.7333 GB, free: 3.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003899/0.6371, allocations: 267.6 kB / 0.7336 GB, free: 2.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6371, allocations: 8 kB / 0.7336 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6371, allocations: 0 / 0.7336 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.6371, allocations: 4.062 kB / 0.7336 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6373, allocations: 31.98 kB / 0.7336 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6373, allocations: 0 / 0.7336 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.6375, allocations: 31.81 kB / 0.7337 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.6375, allocations: 8 kB / 0.7337 GB, free: 2.746 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.000258/0.6378, allocations: 201.7 kB / 0.7339 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.6378, allocations: 51.28 kB / 0.7339 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.6379, allocations: 60.5 kB / 0.734 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.638, allocations: 4 kB / 0.734 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.638, allocations: 0 / 0.734 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.638, allocations: 4 kB / 0.734 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.6384, allocations: 361.4 kB / 0.7343 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6384, allocations: 0 / 0.7343 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.6385, allocations: 15.94 kB / 0.7343 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6385, allocations: 7.984 kB / 0.7344 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6385, allocations: 0 / 0.7344 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6385, allocations: 0 / 0.7344 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6385, allocations: 0 / 0.7344 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.6389, allocations: 252.3 kB / 0.7346 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.6391, allocations: 128.4 kB / 0.7347 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.6391, allocations: 3.984 kB / 0.7347 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6392, allocations: 15.98 kB / 0.7347 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.6393, allocations: 23.95 kB / 0.7348 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6393, allocations: 4 kB / 0.7348 GB, free: 1.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004547/0.6398, allocations: 418.9 kB / 0.7352 GB, free: 1.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6398, allocations: 0 / 0.7352 GB, free: 1.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002762/0.6401, allocations: 63.83 kB / 0.7352 GB, free: 1.07 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.0009621/0.6411, allocations: 416 kB / 0.7356 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.6414, allocations: 147.9 kB / 0.7358 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6414, allocations: 0 / 0.7358 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.6415, allocations: 52.05 kB / 0.7358 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.642, allocations: 70.14 kB / 0.7359 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.6433, allocations: 0.9168 MB / 0.7368 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.6441, allocations: 0.8471 MB / 0.7376 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.6442, allocations: 34.27 kB / 0.7376 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.6443, allocations: 31.42 kB / 0.7377 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.6443, allocations: 0 / 0.7377 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.008007/0.6523, allocations: 3.344 MB / 0.7409 GB, free: 11.35 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)