Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001123/0.001122, allocations: 92.08 kB / 16.02 MB, free: 80 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.001571/0.001572, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6458, allocations: 142.4 MB / 0.9557 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002709/0.6485, allocations: 2.339 MB / 0.958 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.6507, allocations: 1.596 MB / 0.9596 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.6509, allocations: 12 kB / 0.9596 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.6515, allocations: 232.2 kB / 0.9598 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.6519, allocations: 151.9 kB / 0.9599 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.6524, allocations: 224.6 kB / 0.9601 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.6528, allocations: 443.5 kB / 0.9606 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.653, allocations: 137.1 kB / 0.9607 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.6532, allocations: 141 kB / 0.9608 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.6534, allocations: 177 kB / 0.961 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.6534, allocations: 8.25 kB / 0.961 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.6536, allocations: 51.53 kB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.6537, allocations: 119.6 kB / 0.9612 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.6538, allocations: 234.7 kB / 0.9614 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.6542, allocations: 0.5014 MB / 0.9619 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6542, allocations: 0 / 0.9619 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6542, allocations: 0 / 0.9619 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6542, allocations: 1 kB / 0.9619 GB, free: 2.906 MB / 0.7169 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.001221/0.6554, allocations: 0.8263 MB / 0.9627 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6555, allocations: 9.844 kB / 0.9627 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.6556, allocations: 67.25 kB / 0.9628 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.6562, allocations: 486.8 kB / 0.9632 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.6562, allocations: 17.16 kB / 0.9632 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.6563, allocations: 22.88 kB / 0.9633 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.6568, allocations: 223.7 kB / 0.9635 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6568, allocations: 0 / 0.9635 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6568, allocations: 10.31 kB / 0.9635 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.6568, allocations: 8.688 kB / 0.9635 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.6572, allocations: 180.1 kB / 0.9637 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.6585, allocations: 0.9282 MB / 0.9646 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.6592, allocations: 260 kB / 0.9648 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.6594, allocations: 91.75 kB / 0.9649 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6595, allocations: 6.156 kB / 0.9649 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.6598, allocations: 173.6 kB / 0.9651 GB, free: 460 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6598, allocations: 0 / 0.9651 GB, free: 460 kB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000755/0.6606, allocations: 345.2 kB / 0.9654 GB, free: 284 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.6606, allocations: 79.77 kB / 0.9655 GB, free: 188 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.6614, allocations: 0.7148 MB / 0.9662 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.6615, allocations: 33.39 kB / 0.9662 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.6617, allocations: 291.9 kB / 0.9665 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.6618, allocations: 49.22 kB / 0.9665 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.6618, allocations: 40.89 kB / 0.9666 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.662, allocations: 377 kB / 0.9669 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.6623, allocations: 130.4 kB / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.6626, allocations: 170.8 kB / 0.9672 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.6631, allocations: 228.3 kB / 0.9675 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6631, allocations: 0.875 kB / 0.9675 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007847/0.6639, allocations: 381.8 kB / 0.9678 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.664, allocations: 108.5 kB / 0.9679 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.664, allocations: 0.9688 kB / 0.9679 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.664, allocations: 1.125 kB / 0.9679 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.6643, allocations: 64.39 kB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6643, allocations: 2.188 kB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.6646, allocations: 48.94 kB / 0.968 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.6647, allocations: 14.91 kB / 0.968 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6647, allocations: 6.188 kB / 0.9681 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005004/0.6652, allocations: 256.9 kB / 0.9683 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.6652, allocations: 1 kB / 0.9683 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.6652, allocations: 2.125 kB / 0.9683 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.6654, allocations: 59.28 kB / 0.9684 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6654, allocations: 5.938 kB / 0.9684 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.6657, allocations: 44.53 kB / 0.9684 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.6657, allocations: 6.406 kB / 0.9684 GB, free: 14.28 MB / 0.7325 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 (30): * Single equations (assignments): 30 * 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.0003103/0.666, allocations: 308.6 kB / 0.9687 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.6661, allocations: 58 kB / 0.9688 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.6662, allocations: 62.72 kB / 0.9688 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6662, allocations: 5.969 kB / 0.9688 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6662, allocations: 0 / 0.9688 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6663, allocations: 5.062 kB / 0.9688 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.6667, allocations: 436 kB / 0.9692 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6667, allocations: 0 / 0.9692 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.6669, allocations: 32.75 kB / 0.9693 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.6669, allocations: 1.125 kB / 0.9693 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6669, allocations: 2.25 kB / 0.9693 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6669, allocations: 5 kB / 0.9693 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6669, allocations: 3.938 kB / 0.9693 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/0.6678, allocations: 405.6 kB / 0.9697 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6679, allocations: 137.7 kB / 0.9698 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.668, allocations: 11.72 kB / 0.9698 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6682, allocations: 37.94 kB / 0.9699 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.6683, allocations: 22.97 kB / 0.9699 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6683, allocations: 4.281 kB / 0.9699 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000556/0.6688, allocations: 483.9 kB / 0.9703 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6688, allocations: 3.938 kB / 0.9703 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004845/0.6693, allocations: 129.1 kB / 0.9705 GB, free: 12.86 MB / 0.7325 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 (15): * Single equations (assignments): 13 * 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.0009962/0.6703, allocations: 418.6 kB / 0.9709 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008432/0.6712, allocations: 396.4 kB / 0.9712 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6712, allocations: 5.219 kB / 0.9713 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.6715, allocations: 103.2 kB / 0.9713 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.672, allocations: 97.23 kB / 0.9714 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6738, allocations: 1.21 MB / 0.9726 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.6743, allocations: 0.8846 MB / 0.9735 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6744, allocations: 38.33 kB / 0.9735 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6744, allocations: 0 / 0.9735 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.01002/0.6844, allocations: 6.414 MB / 0.9798 GB, free: 6.445 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)