Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001469/0.001469, allocations: 179.5 kB / 371.8 MB, free: 10.26 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.691/1.691, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008737/0.0008735, allocations: 90.97 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 12.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/0.9571, allocations: 144.4 MB / 1.12 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.9575, allocations: 94.22 kB / 1.121 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.987, allocations: 12.55 MB / 1.133 GB, free: 29.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9871, allocations: 0 / 1.133 GB, free: 29.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.9871, allocations: 11.36 kB / 1.133 GB, free: 29.55 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.00112/0.9883, allocations: 0.774 MB / 1.134 GB, free: 28.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9883, allocations: 11.62 kB / 1.134 GB, free: 28.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.9884, allocations: 62.3 kB / 1.134 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.9891, allocations: 420.9 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.9892, allocations: 15.91 kB / 1.134 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.9892, allocations: 15.34 kB / 1.134 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.9895, allocations: 135.2 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9895, allocations: 0 / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.9895, allocations: 7.094 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.9895, allocations: 0 / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.9897, allocations: 89.14 kB / 1.134 GB, free: 28.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.9907, allocations: 0.6611 MB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.991, allocations: 140.2 kB / 1.135 GB, free: 28.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.991, allocations: 3.812 kB / 1.135 GB, free: 28.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.9912, allocations: 104.1 kB / 1.135 GB, free: 27.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.9912, allocations: 7.938 kB / 1.135 GB, free: 27.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0003994/0.9917, allocations: 210.1 kB / 1.135 GB, free: 27.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.9917, allocations: 55.34 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.9923, allocations: 0.5697 MB / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.9923, allocations: 36.45 kB / 1.136 GB, free: 27.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.9925, allocations: 265.3 kB / 1.136 GB, free: 27.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.9925, allocations: 26.19 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.9925, allocations: 6.531 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.9927, allocations: 373 kB / 1.137 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.9929, allocations: 91.17 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.993, allocations: 124.3 kB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.9932, allocations: 91.56 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9932, allocations: 0 / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003937/0.9936, allocations: 289.5 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9936, allocations: 11.75 kB / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9937, allocations: 0 / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.9937, allocations: 0 / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.9939, allocations: 38.83 kB / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.9939, allocations: 0 / 1.137 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.9941, allocations: 37.53 kB / 1.137 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.9941, allocations: 10.81 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.0002313/0.9944, allocations: 211.1 kB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.9944, allocations: 57.88 kB / 1.138 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.9947, allocations: 186.2 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.9948, allocations: 0 / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9948, allocations: 0 / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9948, allocations: 7.781 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.9951, allocations: 379 kB / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9951, allocations: 7.953 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.9952, allocations: 11.44 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.9952, allocations: 0 / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.9952, allocations: 3.984 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.9952, allocations: 3.844 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9952, allocations: 0 / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.9956, allocations: 259.6 kB / 1.138 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.9957, allocations: 131.8 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.9958, allocations: 4.062 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9959, allocations: 27.34 kB / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.996, allocations: 23.34 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.996, allocations: 7.953 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000388/0.9964, allocations: 426.5 kB / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9964, allocations: 0 / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003696/0.9968, allocations: 83.36 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.0009689/0.9977, allocations: 470.5 kB / 1.14 GB, free: 25.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.998, allocations: 163.1 kB / 1.14 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9981, allocations: 4.062 kB / 1.14 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.9982, allocations: 55.67 kB / 1.14 GB, free: 25.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.9985, allocations: 66.83 kB / 1.14 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.9996, allocations: 0.939 MB / 1.141 GB, free: 25.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/1, allocations: 0.8711 MB / 1.142 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001168/1, allocations: 37.42 kB / 1.142 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/1, allocations: 29.73 kB / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1, allocations: 3.938 kB / 1.142 GB, free: 24.36 MB / 0.698 GB Notification: Performance of Templates: time 0.007983/1.008, allocations: 4.063 MB / 1.146 GB, free: 22.37 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)