Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001264, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8415, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005114/0.8466, allocations: 2.679 MB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.8498, allocations: 1.658 MB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.8502, allocations: 8 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.8511, allocations: 238.6 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006438/0.8518, allocations: 175.1 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.8526, allocations: 258.4 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.8534, allocations: 478.6 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.8537, allocations: 147.9 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.8541, allocations: 191.2 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.8545, allocations: 203 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.8546, allocations: 40 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.8549, allocations: 83.92 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.8551, allocations: 155.5 kB / 1.215 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.8553, allocations: 250.3 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008657/0.8562, allocations: 0.6597 MB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.8562, allocations: 7.984 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8562, allocations: 0 / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.8562, allocations: 0 / 1.215 GB, free: 6.449 MB / 0.9356 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.001885/0.8581, allocations: 0.9063 MB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8582, allocations: 8.031 kB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.8584, allocations: 72.09 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.8591, allocations: 484.9 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.8592, allocations: 20.75 kB / 1.217 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.8592, allocations: 19.94 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.8598, allocations: 220.5 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8598, allocations: 3.938 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.8598, allocations: 12 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.8598, allocations: 4 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.8602, allocations: 163.2 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.8618, allocations: 0.8549 MB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.8628, allocations: 294.5 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.8631, allocations: 88.8 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.8631, allocations: 11.94 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.8635, allocations: 161 kB / 1.219 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.8635, allocations: 0 / 1.219 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0008382/0.8643, allocations: 334.4 kB / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.8644, allocations: 81.05 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.8653, allocations: 0.7151 MB / 1.22 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.8654, allocations: 33.7 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.8656, allocations: 292.3 kB / 1.22 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.8657, allocations: 51.34 kB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.8658, allocations: 69.59 kB / 1.22 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.866, allocations: 382.8 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.8663, allocations: 124.8 kB / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.8666, allocations: 182.8 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.8671, allocations: 210.4 kB / 1.221 GB, free: 460 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8671, allocations: 0 / 1.221 GB, free: 460 kB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007153/0.8678, allocations: 364.8 kB / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8678, allocations: 10.34 kB / 1.221 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8679, allocations: 3.938 kB / 1.221 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8679, allocations: 4 kB / 1.221 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.8682, allocations: 59.89 kB / 1.221 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8682, allocations: 0 / 1.221 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.8685, allocations: 43.88 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.8685, allocations: 8 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004022/0.8689, allocations: 284 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002709/0.8692, allocations: 175.8 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003572/0.8696, allocations: 186.4 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.8696, allocations: 0 / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006235/0.8702, allocations: 341 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.8702, allocations: 7.984 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8703, allocations: 12.05 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-06/0.8703, allocations: 3.938 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.8705, allocations: 51.91 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8705, allocations: 3.938 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.8708, allocations: 47.94 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.8708, allocations: 11.98 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.871, allocations: 208.1 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.8711, allocations: 55.25 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.8712, allocations: 69.66 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8712, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8712, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8712, allocations: 3.938 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.8717, allocations: 445.2 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8717, allocations: 0 / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.8719, allocations: 27.97 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8719, allocations: 4 kB / 1.223 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.8719, allocations: 11.94 kB / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8719, allocations: 0 / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8719, allocations: 7.969 kB / 1.223 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.8727, allocations: 380.1 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.8729, allocations: 132.4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.8729, allocations: 11.94 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.8731, allocations: 23.97 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.8732, allocations: 23.97 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8732, allocations: 11.98 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005716/0.8738, allocations: 471 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8738, allocations: 4 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005023/0.8743, allocations: 135.8 kB / 1.225 GB, free: 12.73 MB / 0.9512 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.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.8755, allocations: 437.7 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009257/0.8764, allocations: 394.6 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8764, allocations: 4 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.8767, allocations: 91.89 kB / 1.225 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.8772, allocations: 86.52 kB / 1.225 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.879, allocations: 1.016 MB / 1.226 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.8795, allocations: 0.8816 MB / 1.227 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.8797, allocations: 39.42 kB / 1.227 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.8797, allocations: 0 / 1.227 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.01162/0.8913, allocations: 6.524 MB / 1.234 GB, free: 3.41 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)