Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 287.5 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 189.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008784, allocations: 87.73 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 13.47 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9288/1.142, allocations: 144.3 MB / 1.12 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.142, allocations: 95.09 kB / 1.12 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04771/1.19, allocations: 12.6 MB / 1.133 GB, free: 29.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/1.19, allocations: 0 / 1.133 GB, free: 29.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.016e-05/1.19, allocations: 7.688 kB / 1.133 GB, free: 29.65 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.001651/1.191, allocations: 0.7711 MB / 1.133 GB, free: 29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.192, allocations: 11.41 kB / 1.133 GB, free: 29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/1.192, allocations: 59.06 kB / 1.133 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/1.193, allocations: 445.6 kB / 1.134 GB, free: 28.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.193, allocations: 16.17 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/1.193, allocations: 11.84 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/1.193, allocations: 141.9 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.193, allocations: 3.938 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/1.193, allocations: 7.812 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.193, allocations: 0 / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/1.194, allocations: 90.03 kB / 1.134 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.195, allocations: 0.6586 MB / 1.135 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/1.196, allocations: 132.5 kB / 1.135 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/1.196, allocations: 45.8 kB / 1.135 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/1.196, allocations: 0 / 1.135 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/1.196, allocations: 119.2 kB / 1.135 GB, free: 28.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.966e-06/1.196, allocations: 3.984 kB / 1.135 GB, free: 28.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006436/1.197, allocations: 209.2 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.197, allocations: 55.22 kB / 1.135 GB, free: 27.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.198, allocations: 0.645 MB / 1.136 GB, free: 27.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/1.198, allocations: 32.08 kB / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/1.198, allocations: 264.9 kB / 1.136 GB, free: 27.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.199, allocations: 30.27 kB / 1.136 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/1.199, allocations: 7.094 kB / 1.136 GB, free: 27.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.199, allocations: 367.9 kB / 1.137 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/1.199, allocations: 89.61 kB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/1.199, allocations: 120.7 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/1.2, allocations: 147.5 kB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.2, allocations: 0 / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006862/1.2, allocations: 299.6 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.2, allocations: 7.828 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.2, allocations: 3.844 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.2, allocations: 0 / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/1.201, allocations: 31.14 kB / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.201, allocations: 3.781 kB / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/1.201, allocations: 43.03 kB / 1.137 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/1.201, allocations: 10.56 kB / 1.137 GB, free: 26.94 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.0003703/1.202, allocations: 207.8 kB / 1.137 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/1.202, allocations: 58.2 kB / 1.138 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/1.202, allocations: 191.8 kB / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.202, allocations: 3.969 kB / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.202, allocations: 0 / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.202, allocations: 0 / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/1.203, allocations: 378.8 kB / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.203, allocations: 0 / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.203, allocations: 15.73 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.203, allocations: 0 / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.203, allocations: 6.969 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.203, allocations: 0 / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.203, allocations: 0 / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/1.203, allocations: 265.5 kB / 1.138 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.204, allocations: 131.8 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/1.204, allocations: 7.406 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/1.204, allocations: 18.92 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/1.204, allocations: 25.83 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/1.204, allocations: 7.906 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006777/1.205, allocations: 430.6 kB / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.205, allocations: 0 / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005091/1.205, allocations: 71.97 kB / 1.139 GB, free: 26 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.001288/1.207, allocations: 474.6 kB / 1.139 GB, free: 25.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.207, allocations: 156.5 kB / 1.14 GB, free: 25.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.207, allocations: 0 / 1.14 GB, free: 25.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/1.207, allocations: 61.47 kB / 1.14 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/1.208, allocations: 68.8 kB / 1.14 GB, free: 25.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/1.21, allocations: 0.9418 MB / 1.141 GB, free: 25.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/1.21, allocations: 0.8617 MB / 1.142 GB, free: 24.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002348/1.211, allocations: 40.7 kB / 1.142 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.211, allocations: 33.86 kB / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.211, allocations: 0 / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of Templates: time 0.01327/1.224, allocations: 4.092 MB / 1.146 GB, free: 22.36 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)