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.574/2.574, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001542/0.001542, allocations: 177 kB / 371 MB, free: 10.8 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 2.112/2.112, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 99.78 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004995, allocations: 12.88 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9185/1.139, allocations: 144.3 MB / 1.119 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.139, allocations: 90.36 kB / 1.119 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04854/1.188, allocations: 12.55 MB / 1.132 GB, free: 29.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.188, allocations: 0 / 1.132 GB, free: 29.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.612e-05/1.188, allocations: 7.688 kB / 1.132 GB, free: 29.38 MB / 0.698 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.001593/1.189, allocations: 0.777 MB / 1.132 GB, free: 28.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.189, allocations: 11.67 kB / 1.132 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/1.189, allocations: 66.14 kB / 1.132 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/1.19, allocations: 423.4 kB / 1.133 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/1.191, allocations: 15.56 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/1.191, allocations: 17.91 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/1.191, allocations: 128.6 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.191, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/1.191, allocations: 11.12 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.191, allocations: 3.875 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/1.191, allocations: 86.34 kB / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.193, allocations: 0.6625 MB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/1.193, allocations: 135.9 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.193, allocations: 3.938 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/1.194, allocations: 103 kB / 1.134 GB, free: 27.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/1.194, allocations: 0 / 1.134 GB, free: 27.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006291/1.194, allocations: 215 kB / 1.134 GB, free: 27.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.194, allocations: 51.41 kB / 1.134 GB, free: 27.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/1.195, allocations: 0.5757 MB / 1.135 GB, free: 27.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/1.195, allocations: 29.52 kB / 1.135 GB, free: 27.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.196, allocations: 261.7 kB / 1.135 GB, free: 27.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/1.196, allocations: 33.73 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/1.196, allocations: 3.062 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.196, allocations: 373.6 kB / 1.135 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/1.196, allocations: 94.45 kB / 1.136 GB, free: 26.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.197, allocations: 126.3 kB / 1.136 GB, free: 26.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.197, allocations: 84.91 kB / 1.136 GB, free: 26.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.197, allocations: 0 / 1.136 GB, free: 26.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007013/1.198, allocations: 298 kB / 1.136 GB, free: 26.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.198, allocations: 10.38 kB / 1.136 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.198, allocations: 3.938 kB / 1.136 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.198, allocations: 0 / 1.136 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/1.198, allocations: 34.89 kB / 1.136 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.198, allocations: 0 / 1.136 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/1.198, allocations: 40.22 kB / 1.136 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.198, allocations: 7.688 kB / 1.136 GB, free: 26.77 MB / 0.698 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 () * 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.000379/1.199, allocations: 219.3 kB / 1.136 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/1.199, allocations: 50.53 kB / 1.136 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/1.199, allocations: 185.5 kB / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.199, allocations: 3.938 kB / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.199, allocations: 7.781 kB / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.199, allocations: 0 / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/1.2, allocations: 380 kB / 1.137 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.2, allocations: 0 / 1.137 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.2, allocations: 15.72 kB / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.2, allocations: 0 / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.2, allocations: 3.984 kB / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.2, allocations: 0 / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.2, allocations: 7.781 kB / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/1.201, allocations: 260.2 kB / 1.137 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.201, allocations: 134.8 kB / 1.137 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/1.201, allocations: 3.438 kB / 1.137 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.201, allocations: 23.56 kB / 1.137 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/1.201, allocations: 26.28 kB / 1.137 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.201, allocations: 10.92 kB / 1.137 GB, free: 25.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007016/1.202, allocations: 428.2 kB / 1.138 GB, free: 25.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.202, allocations: 0 / 1.138 GB, free: 25.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004864/1.203, allocations: 74.84 kB / 1.138 GB, free: 25.82 MB / 0.698 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) * Number of clocked states: 0 () * 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.001285/1.204, allocations: 458.1 kB / 1.138 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005216/1.204, allocations: 161.2 kB / 1.138 GB, free: 25.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.204, allocations: 4.062 kB / 1.138 GB, free: 25.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.205, allocations: 53.55 kB / 1.139 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/1.205, allocations: 76.84 kB / 1.139 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/1.207, allocations: 0.9409 MB / 1.14 GB, free: 24.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/1.208, allocations: 0.8695 MB / 1.14 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002411/1.208, allocations: 41.36 kB / 1.14 GB, free: 24.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.208, allocations: 34.05 kB / 1.14 GB, free: 24.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.208, allocations: 0 / 1.14 GB, free: 24.18 MB / 0.698 GB Notification: Performance of Templates: time 0.01324/1.221, allocations: 4.063 MB / 1.144 GB, free: 22.2 MB / 0.698 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)