Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001017/0.001017, allocations: 183.4 kB / 371.6 MB, free: 3.371 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.6/1.6, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009055/0.0009052, allocations: 93.97 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.85e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2645, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7571/1.022, allocations: 146.7 MB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.022, allocations: 97.23 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03073/1.053, allocations: 13.94 MB / 1.137 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/1.053, allocations: 0 / 1.137 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.38e-05/1.053, allocations: 16 kB / 1.137 GB, free: 30.92 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008873/1.054, allocations: 0.7437 MB / 1.138 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.054, allocations: 12.03 kB / 1.138 GB, free: 30.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/1.054, allocations: 73.55 kB / 1.138 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/1.055, allocations: 475.5 kB / 1.138 GB, free: 29.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.055, allocations: 19.73 kB / 1.138 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/1.055, allocations: 18.97 kB / 1.138 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/1.055, allocations: 200.5 kB / 1.138 GB, free: 29.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.055, allocations: 0 / 1.138 GB, free: 29.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/1.055, allocations: 8.562 kB / 1.138 GB, free: 29.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.055, allocations: 7.953 kB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/1.055, allocations: 140.8 kB / 1.138 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.057, allocations: 0.8944 MB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/1.057, allocations: 175.7 kB / 1.139 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/1.057, allocations: 64.61 kB / 1.14 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/1.057, allocations: 4.609 kB / 1.14 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/1.057, allocations: 149.8 kB / 1.14 GB, free: 28.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/1.057, allocations: 4 kB / 1.14 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003516/1.058, allocations: 212.7 kB / 1.14 GB, free: 28.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.058, allocations: 81.11 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/1.058, allocations: 0.6297 MB / 1.141 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.058, allocations: 37.62 kB / 1.141 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/1.059, allocations: 292.2 kB / 1.141 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/1.059, allocations: 53.61 kB / 1.141 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.059, allocations: 3 kB / 1.141 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.059, allocations: 377.3 kB / 1.141 GB, free: 27.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/1.059, allocations: 112.1 kB / 1.141 GB, free: 27.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.059, allocations: 153 kB / 1.142 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/1.059, allocations: 106.8 kB / 1.142 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.059, allocations: 3.953 kB / 1.142 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004271/1.06, allocations: 340.6 kB / 1.142 GB, free: 26.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/1.06, allocations: 182.4 kB / 1.142 GB, free: 26.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.06, allocations: 4.5 kB / 1.142 GB, free: 26.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.06, allocations: 4 kB / 1.142 GB, free: 26.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/1.06, allocations: 57.14 kB / 1.142 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.06, allocations: 4.656 kB / 1.142 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/1.06, allocations: 51.84 kB / 1.142 GB, free: 26.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.06, allocations: 15.11 kB / 1.142 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/1.06, allocations: 5.359 kB / 1.142 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003478/1.061, allocations: 250.8 kB / 1.143 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/1.061, allocations: 4.031 kB / 1.143 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/1.061, allocations: 0 / 1.143 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/1.061, allocations: 52.89 kB / 1.143 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/1.061, allocations: 0 / 1.143 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.061, allocations: 50.95 kB / 1.143 GB, free: 26.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/1.061, allocations: 12.75 kB / 1.143 GB, free: 26.44 MB / 0.7448 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,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.635e-05/1.061, allocations: 120.8 kB / 1.143 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/1.061, allocations: 64.62 kB / 1.143 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/1.062, allocations: 227.1 kB / 1.143 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.062, allocations: 4.75 kB / 1.143 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.062, allocations: 1.5 kB / 1.143 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.062, allocations: 0.6094 kB / 1.143 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/1.062, allocations: 451.2 kB / 1.144 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.062, allocations: 8.453 kB / 1.144 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/1.062, allocations: 29.86 kB / 1.144 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.062, allocations: 7.953 kB / 1.144 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.062, allocations: 3.953 kB / 1.144 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.062, allocations: 0.5156 kB / 1.144 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.062, allocations: 0 / 1.144 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/1.063, allocations: 342.5 kB / 1.144 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.063, allocations: 143.4 kB / 1.144 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/1.063, allocations: 8.156 kB / 1.144 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.063, allocations: 35.92 kB / 1.144 GB, free: 25.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/1.063, allocations: 26.06 kB / 1.144 GB, free: 25.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.063, allocations: 10.03 kB / 1.144 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004641/1.064, allocations: 477.9 kB / 1.145 GB, free: 25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.064, allocations: 0.6562 kB / 1.145 GB, free: 25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004787/1.064, allocations: 150.7 kB / 1.145 GB, free: 24.87 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.0009175/1.065, allocations: 423.5 kB / 1.145 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004692/1.066, allocations: 363.9 kB / 1.145 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.066, allocations: 0 / 1.145 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.066, allocations: 80.16 kB / 1.146 GB, free: 24.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/1.066, allocations: 84.88 kB / 1.146 GB, free: 24.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.067, allocations: 0.7085 MB / 1.146 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.068, allocations: 0.8935 MB / 1.147 GB, free: 22.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004685/1.068, allocations: 161.3 kB / 1.147 GB, free: 22.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/1.068, allocations: 32.97 kB / 1.147 GB, free: 22.75 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.068, allocations: 0 / 1.147 GB, free: 22.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.01381/1.082, allocations: 6.613 MB / 1.154 GB, free: 18.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)