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.001808/0.001808, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.002043/0.002043, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.28 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.574/2.574, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 72.33 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3181, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005451/0.3236, allocations: 2.739 MB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.327, allocations: 1.623 MB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.3274, allocations: 7.938 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.3284, allocations: 223.2 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.3291, allocations: 151.3 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.3298, allocations: 225.7 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.3307, allocations: 478.7 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.3311, allocations: 160.6 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.3314, allocations: 187.2 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.3318, allocations: 203 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.3319, allocations: 40 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.3321, allocations: 87.89 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3323, allocations: 147.5 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.3326, allocations: 246.3 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.3332, allocations: 0.5184 MB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.3332, allocations: 4 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3332, allocations: 4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3332, allocations: 0 / 1.024 GB, free: 3.996 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.001574/0.3348, allocations: 0.8947 MB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3349, allocations: 12.92 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.335, allocations: 72.09 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.3357, allocations: 484.8 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.3357, allocations: 16.75 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.3358, allocations: 31.88 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.3363, allocations: 216.3 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3363, allocations: 4 kB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3363, allocations: 4 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3363, allocations: 4 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.3367, allocations: 171.2 kB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3382, allocations: 0.8627 MB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009163/0.3391, allocations: 290.5 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3393, allocations: 96.67 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.3394, allocations: 15.98 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.3397, allocations: 169.2 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3397, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0007874/0.3405, allocations: 326.9 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.3406, allocations: 85.05 kB / 1.028 GB, free: 84 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.3415, allocations: 0.7112 MB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3416, allocations: 29.7 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3418, allocations: 292.4 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.3419, allocations: 51.34 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.342, allocations: 65.69 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3422, allocations: 374.8 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3425, allocations: 128.8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3428, allocations: 195.3 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.3433, allocations: 208 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3433, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006794/0.344, allocations: 372.6 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.344, allocations: 4 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.344, allocations: 3.938 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.344, allocations: 4 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3443, allocations: 55.89 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3443, allocations: 4 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3445, allocations: 43.88 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3446, allocations: 12 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003977/0.345, allocations: 284.6 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000268/0.3453, allocations: 162.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003651/0.3456, allocations: 186.5 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.3457, allocations: 4 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005761/0.3462, allocations: 333 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.3463, allocations: 12.06 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3463, allocations: 3.984 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.3463, allocations: 3.938 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.3465, allocations: 55.91 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3465, allocations: 4 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.3468, allocations: 39.81 kB / 1.031 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3468, allocations: 12 kB / 1.031 GB, free: 12.37 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.0001567/0.347, allocations: 200.2 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.347, allocations: 59.25 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.3472, allocations: 65.66 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3472, allocations: 128 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3472, allocations: 8 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3472, allocations: 3.984 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3477, allocations: 449.2 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3477, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3478, allocations: 27.97 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3479, allocations: 4 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3479, allocations: 3.938 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3479, allocations: 0 / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3479, allocations: 0 / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.3487, allocations: 388.1 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.3488, allocations: 136.3 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.3489, allocations: 11.94 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3491, allocations: 23.97 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.3492, allocations: 23.97 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3492, allocations: 8 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005761/0.3498, allocations: 475 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3498, allocations: 4.062 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004726/0.3503, allocations: 131.7 kB / 1.033 GB, free: 10.29 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.001572/0.3519, allocations: 435.5 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.3528, allocations: 397.8 kB / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3528, allocations: 0 / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.353, allocations: 95.89 kB / 1.034 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3536, allocations: 89.05 kB / 1.034 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3554, allocations: 1.174 MB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.356, allocations: 0.8815 MB / 1.036 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3561, allocations: 39.42 kB / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3561, allocations: 0 / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of Templates: time 0.01102/0.3671, allocations: 6.496 MB / 1.043 GB, free: 0.8516 MB / 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)