Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00221/0.002211, allocations: 179.5 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 101.4 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.339e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7916, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2411/1.033, allocations: 144.2 MB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/1.033, allocations: 93.73 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0581/1.091, allocations: 12.53 MB / 1.123 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/1.091, allocations: 0 / 1.123 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.523e-05/1.091, allocations: 8 kB / 1.123 GB, free: 11.63 MB / 0.7292 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.001334/1.093, allocations: 0.6626 MB / 1.124 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.093, allocations: 8.031 kB / 1.124 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/1.093, allocations: 59.25 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.094, allocations: 431.2 kB / 1.124 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/1.094, allocations: 11.23 kB / 1.124 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/1.094, allocations: 20 kB / 1.124 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/1.095, allocations: 124.5 kB / 1.124 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.095, allocations: 0 / 1.124 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/1.095, allocations: 7.984 kB / 1.124 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.095, allocations: 4 kB / 1.124 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/1.095, allocations: 83.92 kB / 1.124 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/1.097, allocations: 0.6641 MB / 1.125 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/1.097, allocations: 126.7 kB / 1.125 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/1.098, allocations: 48.86 kB / 1.125 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/1.098, allocations: 0 / 1.125 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/1.098, allocations: 105 kB / 1.125 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/1.098, allocations: 0 / 1.125 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0005453/1.098, allocations: 165.1 kB / 1.126 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/1.099, allocations: 55.41 kB / 1.126 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.1, allocations: 0.5713 MB / 1.126 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/1.1, allocations: 33.7 kB / 1.126 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.1, allocations: 264.3 kB / 1.126 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/1.1, allocations: 35.59 kB / 1.126 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.1, allocations: 4 kB / 1.126 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.101, allocations: 374.7 kB / 1.127 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/1.101, allocations: 83.98 kB / 1.127 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/1.101, allocations: 120.3 kB / 1.127 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/1.101, allocations: 87.44 kB / 1.127 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.101, allocations: 0 / 1.127 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007541/1.102, allocations: 288.8 kB / 1.127 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.102, allocations: 4.938 kB / 1.127 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.102, allocations: 3.125 kB / 1.127 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.102, allocations: 4 kB / 1.127 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/1.103, allocations: 39.91 kB / 1.127 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.103, allocations: 1.219 kB / 1.127 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/1.103, allocations: 39.86 kB / 1.127 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/1.103, allocations: 15.98 kB / 1.127 GB, free: 6.926 MB / 0.7292 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,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete 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.0001415/1.103, allocations: 126.9 kB / 1.128 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.103, allocations: 51.34 kB / 1.128 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/1.104, allocations: 186.4 kB / 1.128 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.104, allocations: 4 kB / 1.128 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.104, allocations: 0 / 1.128 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.104, allocations: 0 / 1.128 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/1.105, allocations: 380 kB / 1.128 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.105, allocations: 0 / 1.128 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/1.105, allocations: 11.98 kB / 1.128 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.105, allocations: 4 kB / 1.128 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.105, allocations: 7.844 kB / 1.128 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.105, allocations: 3.938 kB / 1.128 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.105, allocations: 0 / 1.128 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/1.106, allocations: 261.8 kB / 1.128 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/1.106, allocations: 124.5 kB / 1.129 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/1.106, allocations: 8 kB / 1.129 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/1.106, allocations: 19.98 kB / 1.129 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.106, allocations: 23.94 kB / 1.129 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.106, allocations: 8 kB / 1.129 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008312/1.107, allocations: 425.6 kB / 1.129 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.41e-07/1.107, allocations: 0 / 1.129 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005477/1.108, allocations: 87.77 kB / 1.129 GB, free: 5.141 MB / 0.7292 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001317/1.109, allocations: 417.8 kB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005662/1.11, allocations: 151.8 kB / 1.13 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.11, allocations: 0 / 1.13 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/1.11, allocations: 55.94 kB / 1.13 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/1.111, allocations: 69.39 kB / 1.13 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.112, allocations: 0.593 MB / 1.13 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/1.113, allocations: 0.8691 MB / 1.131 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002945/1.113, allocations: 37.73 kB / 1.131 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/1.113, allocations: 27.42 kB / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/1.113, allocations: 0 / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of Templates: time 0.01573/1.129, allocations: 4.17 MB / 1.135 GB, free: 14.97 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)