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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001312/0.001312, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 197.1 kB / 16.79 MB, free: 6.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.19 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005142/0.3463, allocations: 2.715 MB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3494, allocations: 1.623 MB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.3499, allocations: 11.94 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008762/0.3508, allocations: 227.7 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.3514, allocations: 147.4 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.3522, allocations: 222.2 kB / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007116/0.3529, allocations: 442.6 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.3533, allocations: 149.1 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.3536, allocations: 159.1 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3539, allocations: 191 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.354, allocations: 16 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3542, allocations: 55.97 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3543, allocations: 135.4 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3546, allocations: 218.4 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.3552, allocations: 0.5184 MB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3552, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3552, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.3553, allocations: 3.938 kB / 1.059 GB, free: 1.539 MB / 0.8106 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.001897/0.3572, allocations: 0.8988 MB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3572, allocations: 11.97 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.3574, allocations: 72.08 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.3583, allocations: 484.8 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3583, allocations: 12.75 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3584, allocations: 27.94 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.359, allocations: 232.1 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.359, allocations: 0 / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.359, allocations: 8 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.359, allocations: 15.98 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.3595, allocations: 159.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3611, allocations: 0.8589 MB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.3621, allocations: 298.5 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.3623, allocations: 90.62 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3624, allocations: 0 / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.3628, allocations: 173.2 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3628, allocations: 0 / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0008215/0.3636, allocations: 327.8 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.3637, allocations: 81.11 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/0.3646, allocations: 0.719 MB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3646, allocations: 33.7 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.3649, allocations: 292.3 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.3649, allocations: 47.36 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3651, allocations: 61.69 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3653, allocations: 378.8 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3656, allocations: 128.8 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.3659, allocations: 194.7 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.3664, allocations: 214.4 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3664, allocations: 0 / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000762/0.3671, allocations: 364.7 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.3672, allocations: 8 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3672, allocations: 8 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3672, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3675, allocations: 63.89 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3675, allocations: 0 / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3678, allocations: 43.8 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3679, allocations: 8 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004393/0.3683, allocations: 280 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002795/0.3686, allocations: 195.7 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003543/0.369, allocations: 186.7 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.369, allocations: 0 / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006458/0.3696, allocations: 340.8 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3697, allocations: 5.562 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.3697, allocations: 0 / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.3697, allocations: 7.938 kB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3699, allocations: 51.91 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3699, allocations: 4.062 kB / 1.066 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3702, allocations: 39.81 kB / 1.067 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.3703, allocations: 15.98 kB / 1.067 GB, free: 9.883 MB / 0.8262 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.00018/0.3705, allocations: 200.1 kB / 1.067 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3706, allocations: 59.25 kB / 1.067 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3708, allocations: 65.66 kB / 1.067 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3708, allocations: 8 kB / 1.067 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3708, allocations: 0 / 1.067 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3708, allocations: 3.984 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.3714, allocations: 441.2 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3714, allocations: 0 / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3715, allocations: 28.05 kB / 1.067 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3715, allocations: 4 kB / 1.067 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3716, allocations: 11.92 kB / 1.067 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3716, allocations: 4 kB / 1.067 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3716, allocations: 0 / 1.067 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.3724, allocations: 372.2 kB / 1.068 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3726, allocations: 140.3 kB / 1.068 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.3727, allocations: 11.94 kB / 1.068 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3729, allocations: 28.03 kB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.373, allocations: 27.91 kB / 1.068 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.373, allocations: 7.984 kB / 1.068 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005641/0.3736, allocations: 475 kB / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3736, allocations: 0 / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005202/0.3741, allocations: 131.7 kB / 1.068 GB, free: 7.805 MB / 0.8262 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.001176/0.3753, allocations: 431.7 kB / 1.069 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009452/0.3763, allocations: 388.4 kB / 1.069 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3763, allocations: 0 / 1.069 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3765, allocations: 100.1 kB / 1.069 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.3772, allocations: 79.5 kB / 1.069 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3794, allocations: 1.173 MB / 1.071 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.38, allocations: 0.8818 MB / 1.071 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3801, allocations: 31.42 kB / 1.071 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/0.3801, allocations: 0 / 1.071 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.01235/0.3925, allocations: 6.486 MB / 1.078 GB, free: 14.4 MB / 0.8419 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)