Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001386/0.001386, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 66.41 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.00413/0.361, allocations: 2.709 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3633, allocations: 1.639 MB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3635, allocations: 7.938 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.3642, allocations: 227.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.3645, allocations: 147.3 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3649, allocations: 223.7 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.3654, allocations: 446.6 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.3656, allocations: 143.9 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3658, allocations: 159.2 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.366, allocations: 187.1 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.3661, allocations: 16 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3662, allocations: 55.98 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3664, allocations: 139.4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3666, allocations: 222.4 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.3671, allocations: 0.6305 MB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3671, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3671, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3671, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 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.001352/0.3685, allocations: 0.9026 MB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3685, allocations: 8.031 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3687, allocations: 72.09 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.3692, allocations: 484.8 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3693, allocations: 20.75 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3693, allocations: 19.94 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.3698, allocations: 220.5 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3698, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.3698, allocations: 12 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3698, allocations: 4 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.3702, allocations: 167.3 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3715, allocations: 0.8666 MB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.3725, allocations: 302.4 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3727, allocations: 84.81 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3727, allocations: 0 / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.3731, allocations: 175.2 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3731, allocations: 0 / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007675/0.3738, allocations: 332.6 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3739, allocations: 77.11 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.3746, allocations: 0.7112 MB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3747, allocations: 37.7 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3749, allocations: 284.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.375, allocations: 59.33 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3751, allocations: 65.59 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3752, allocations: 374.8 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.3755, allocations: 128.8 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.3758, allocations: 187.3 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.3762, allocations: 214.4 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3763, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006613/0.3769, allocations: 360.7 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3769, allocations: 9.719 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.377, allocations: 3.938 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.377, allocations: 4.062 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.3773, allocations: 59.91 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3773, allocations: 3.938 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3775, allocations: 43.8 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.3776, allocations: 8 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003722/0.3779, allocations: 284 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002626/0.3782, allocations: 179.3 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003662/0.3786, allocations: 178.7 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.3786, allocations: 4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005984/0.3792, allocations: 336.8 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3792, allocations: 4 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.3792, allocations: 0 / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.3792, allocations: 7.938 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.3795, allocations: 55.91 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.3795, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.3797, allocations: 47.86 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3797, allocations: 8 kB / 1.081 GB, free: 12.38 MB / 0.8419 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.0001692/0.3799, allocations: 200.1 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.38, allocations: 63.23 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.3801, allocations: 65.66 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3802, allocations: 4 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.3802, allocations: 4.125 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3802, allocations: 3.938 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3807, allocations: 445.2 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3807, allocations: 0 / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3808, allocations: 35.91 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3809, allocations: 0 / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3809, allocations: 3.938 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3809, allocations: 4 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3809, allocations: 0 / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/0.3817, allocations: 382.1 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3819, allocations: 136.3 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3819, allocations: 19.91 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3821, allocations: 24.03 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.3822, allocations: 27.91 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.3823, allocations: 8 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000543/0.3828, allocations: 475 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.884e-06/0.3828, allocations: 0 / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004702/0.3833, allocations: 139.6 kB / 1.083 GB, free: 10.28 MB / 0.8419 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.001228/0.3845, allocations: 424.5 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008645/0.3854, allocations: 388.4 kB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3854, allocations: 0 / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.3857, allocations: 102.4 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3862, allocations: 88.5 kB / 1.084 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3877, allocations: 1.125 MB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.3882, allocations: 0.8823 MB / 1.086 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.3884, allocations: 62.91 kB / 1.086 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.3885, allocations: 39.42 kB / 1.086 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3885, allocations: 0 / 1.086 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of Templates: time 0.01171/0.4002, allocations: 4.807 MB / 1.091 GB, free: 2.527 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)