Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001559/0.001559, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001585/0.001585, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 72 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004552/0.3302, allocations: 2.687 MB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.3332, allocations: 1.662 MB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.3335, allocations: 7.938 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.3342, allocations: 235.1 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.3347, allocations: 179 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.3353, allocations: 251.9 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.3358, allocations: 482.6 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.3361, allocations: 143.9 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.3364, allocations: 179.2 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.3367, allocations: 203 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.3368, allocations: 36 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.337, allocations: 83.97 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.3372, allocations: 147.5 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3375, allocations: 254.3 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.3382, allocations: 0.6501 MB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3382, allocations: 0 / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3382, allocations: 0 / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3383, allocations: 0 / 1.025 GB, free: 3.402 MB / 0.795 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.001523/0.3398, allocations: 0.9064 MB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3398, allocations: 12.91 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.34, allocations: 68.09 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/0.3407, allocations: 484.8 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3407, allocations: 16.75 kB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.3408, allocations: 23.94 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.3413, allocations: 224.2 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3413, allocations: 3.938 kB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.3414, allocations: 12 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3414, allocations: 4 kB / 1.027 GB, free: 1.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.3418, allocations: 163.3 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3433, allocations: 0.8588 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/0.3443, allocations: 303.1 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3446, allocations: 96.8 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3446, allocations: 4 kB / 1.028 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.345, allocations: 167.1 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.345, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0008337/0.3458, allocations: 332.6 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3459, allocations: 77.11 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.3468, allocations: 0.7112 MB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3468, allocations: 37.7 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.3471, allocations: 292.3 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.3472, allocations: 51.36 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3473, allocations: 65.69 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3475, allocations: 374.8 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.3478, allocations: 124.8 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.3481, allocations: 190.8 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.3486, allocations: 211.3 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3486, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007117/0.3493, allocations: 368.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3494, allocations: 8 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3494, allocations: 3.938 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3494, allocations: 4 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.3497, allocations: 55.95 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3497, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.35, allocations: 39.81 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.35, allocations: 12 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003982/0.3504, allocations: 280 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002824/0.3507, allocations: 183.6 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003711/0.3511, allocations: 178.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.3511, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006027/0.3517, allocations: 348.8 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.3517, allocations: 4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3517, allocations: 4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.3517, allocations: 3.938 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.352, allocations: 51.91 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.352, allocations: 3.938 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.3522, allocations: 47.81 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3523, allocations: 15.98 kB / 1.032 GB, free: 11.75 MB / 0.8106 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.0001512/0.3524, allocations: 196.7 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.3525, allocations: 59.25 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3526, allocations: 69.66 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3526, allocations: 0 / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3527, allocations: 0 / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3527, allocations: 3.984 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.3532, allocations: 441.2 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3532, allocations: 4 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3534, allocations: 27.92 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3534, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3534, allocations: 15.92 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3534, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3534, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.3542, allocations: 378.3 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3544, allocations: 136.3 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.3544, allocations: 11.94 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3546, allocations: 23.97 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.3547, allocations: 23.97 kB / 1.033 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3547, allocations: 20.09 kB / 1.033 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005627/0.3553, allocations: 475 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3553, allocations: 0 / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005075/0.3558, allocations: 131.7 kB / 1.034 GB, free: 9.688 MB / 0.8106 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.001533/0.3574, allocations: 431 kB / 1.034 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008807/0.3582, allocations: 399.6 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3583, allocations: 0 / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3585, allocations: 98.14 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.359, allocations: 99.09 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3608, allocations: 1.02 MB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.3615, allocations: 0.8826 MB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.3616, allocations: 39.42 kB / 1.037 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3616, allocations: 4 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.01021/0.3718, allocations: 6.498 MB / 1.043 GB, free: 392 kB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)