Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.949/1.949, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.00134/0.001339, allocations: 185 kB / 377.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.6367 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.0009732, allocations: 93.34 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004212, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3574, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9373/1.295, allocations: 145.4 MB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.295, allocations: 95.86 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03469/1.33, allocations: 12.55 MB / 1.143 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.394e-06/1.33, allocations: 0 / 1.143 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.919e-05/1.33, allocations: 8 kB / 1.143 GB, free: 21.62 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.001604/1.332, allocations: 0.7864 MB / 1.143 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.332, allocations: 12.72 kB / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/1.332, allocations: 61.88 kB / 1.144 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/1.333, allocations: 419.4 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/1.333, allocations: 15.67 kB / 1.144 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/1.333, allocations: 16.55 kB / 1.144 GB, free: 20.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/1.333, allocations: 134.3 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.333, allocations: 0 / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/1.333, allocations: 5.406 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.333, allocations: 4 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/1.333, allocations: 87.84 kB / 1.144 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/1.335, allocations: 0.6618 MB / 1.145 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/1.335, allocations: 140.1 kB / 1.145 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/1.335, allocations: 1.359 kB / 1.145 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/1.335, allocations: 104 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.185e-06/1.335, allocations: 0 / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0004959/1.336, allocations: 214.8 kB / 1.145 GB, free: 19.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.336, allocations: 51.92 kB / 1.145 GB, free: 19.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/1.337, allocations: 0.5711 MB / 1.146 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.337, allocations: 34.31 kB / 1.146 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.337, allocations: 266.5 kB / 1.146 GB, free: 18.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/1.337, allocations: 36.36 kB / 1.146 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.337, allocations: 8 kB / 1.146 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.337, allocations: 368.3 kB / 1.147 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/1.338, allocations: 84.92 kB / 1.147 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.338, allocations: 129.6 kB / 1.147 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/1.338, allocations: 96.23 kB / 1.147 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.338, allocations: 0 / 1.147 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004884/1.338, allocations: 292.9 kB / 1.147 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.338, allocations: 5.266 kB / 1.147 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.338, allocations: 0 / 1.147 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.338, allocations: 4 kB / 1.147 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/1.339, allocations: 37.47 kB / 1.147 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.339, allocations: 1.375 kB / 1.147 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.339, allocations: 37.45 kB / 1.147 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/1.339, allocations: 13.17 kB / 1.147 GB, free: 17.25 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 () * 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.000263/1.339, allocations: 209 kB / 1.147 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/1.339, allocations: 55.34 kB / 1.147 GB, free: 17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/1.34, allocations: 178.8 kB / 1.148 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.34, allocations: 0.7031 kB / 1.148 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.34, allocations: 11.98 kB / 1.148 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.34, allocations: 2.922 kB / 1.148 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/1.34, allocations: 374.9 kB / 1.148 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.34, allocations: 7.953 kB / 1.148 GB, free: 16.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/1.34, allocations: 9.5 kB / 1.148 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.34, allocations: 0 / 1.148 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.34, allocations: 9.344 kB / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.34, allocations: 4.75 kB / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.34, allocations: 0 / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/1.341, allocations: 257.3 kB / 1.148 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/1.341, allocations: 135.1 kB / 1.148 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/1.341, allocations: 6.344 kB / 1.148 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/1.341, allocations: 20.64 kB / 1.148 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/1.341, allocations: 22.69 kB / 1.148 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/1.341, allocations: 5.266 kB / 1.148 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006073/1.342, allocations: 432.2 kB / 1.149 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.342, allocations: 0 / 1.149 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004473/1.342, allocations: 86.33 kB / 1.149 GB, free: 15.58 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) * 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.001302/1.344, allocations: 465.4 kB / 1.149 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000352/1.344, allocations: 159.3 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.344, allocations: 0 / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.344, allocations: 53.72 kB / 1.15 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/1.345, allocations: 69.66 kB / 1.15 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/1.346, allocations: 0.9391 MB / 1.151 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/1.347, allocations: 0.8711 MB / 1.151 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001901/1.347, allocations: 45.69 kB / 1.152 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/1.347, allocations: 26.06 kB / 1.152 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/1.347, allocations: 4 kB / 1.152 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.01106/1.358, allocations: 4.08 MB / 1.156 GB, free: 10.95 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)