Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001664/0.001664, allocations: 102.9 kB / 16.27 MB, free: 5.961 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.001735/0.001735, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.439/1.439, 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 11.1.0-maint.11.x/package.mo): time 3.07/3.07, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.64 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 159.2 MB / 1.065 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004783/0.3506, allocations: 2.671 MB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3537, allocations: 1.669 MB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.3541, allocations: 15.88 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.3548, allocations: 239.2 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.3552, allocations: 171.1 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.3559, allocations: 247.4 kB / 1.07 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000575/0.3564, allocations: 478.7 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.3568, allocations: 147.9 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.357, allocations: 179.3 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.3573, allocations: 203 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.3574, allocations: 44 kB / 1.071 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.3576, allocations: 79.97 kB / 1.071 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3578, allocations: 155.4 kB / 1.071 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.358, allocations: 242.3 kB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.3588, allocations: 0.654 MB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.3588, allocations: 3.984 kB / 1.072 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3588, allocations: 0 / 1.072 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3588, allocations: 0 / 1.072 GB, free: 7.559 MB / 0.8419 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.001622/0.3605, allocations: 0.8948 MB / 1.072 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3605, allocations: 12.03 kB / 1.073 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.3607, allocations: 68.09 kB / 1.073 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.3614, allocations: 492.7 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3614, allocations: 12.75 kB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.3615, allocations: 27.94 kB / 1.073 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.362, allocations: 216.6 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.362, allocations: 0 / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.362, allocations: 4 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3621, allocations: 7.938 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.3625, allocations: 175 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.364, allocations: 0.8665 MB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.365, allocations: 294.5 kB / 1.075 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3653, allocations: 84.81 kB / 1.075 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3653, allocations: 4 kB / 1.075 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.3657, allocations: 181.1 kB / 1.075 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3657, allocations: 0 / 1.075 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0008397/0.3666, allocations: 321.8 kB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.3666, allocations: 81.11 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.3676, allocations: 0.719 MB / 1.076 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3676, allocations: 33.7 kB / 1.076 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.3679, allocations: 288.4 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.368, allocations: 47.34 kB / 1.076 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3681, allocations: 61.7 kB / 1.076 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3683, allocations: 378.8 kB / 1.077 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.3686, allocations: 136.7 kB / 1.077 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.3689, allocations: 183.3 kB / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.3694, allocations: 214.4 kB / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3694, allocations: 0 / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007367/0.3702, allocations: 368.6 kB / 1.078 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3702, allocations: 4 kB / 1.078 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3702, allocations: 16.06 kB / 1.078 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3703, allocations: 0 / 1.078 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3705, allocations: 47.97 kB / 1.078 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3705, allocations: 7.938 kB / 1.078 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3708, allocations: 47.8 kB / 1.078 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.3708, allocations: 8 kB / 1.078 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004631/0.3713, allocations: 280 kB / 1.078 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002744/0.3716, allocations: 170.8 kB / 1.078 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003742/0.372, allocations: 198.6 kB / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.372, allocations: 0 / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006131/0.3726, allocations: 340.7 kB / 1.079 GB, free: 44 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.3726, allocations: 4 kB / 1.079 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.3726, allocations: 0 / 1.079 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.3727, allocations: 7.938 kB / 1.079 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4939/0.8665, allocations: 44.14 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.8666, allocations: 3.094 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.867, allocations: 46.12 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.8671, allocations: 10.33 kB / 1.079 GB, free: 21.91 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.0001435/0.8672, allocations: 200.6 kB / 1.079 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.8673, allocations: 60.97 kB / 1.079 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.8675, allocations: 66.42 kB / 1.079 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.8675, allocations: 5.578 kB / 1.079 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8676, allocations: 0.5938 kB / 1.079 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8676, allocations: 2.359 kB / 1.079 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.8681, allocations: 441.7 kB / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8681, allocations: 0 / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.8683, allocations: 27.53 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.8683, allocations: 7.062 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.8683, allocations: 6.672 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8683, allocations: 1.391 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8683, allocations: 0.7188 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.8692, allocations: 388.7 kB / 1.08 GB, free: 21.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8693, allocations: 138.7 kB / 1.08 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.8694, allocations: 6.375 kB / 1.08 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.8696, allocations: 24.17 kB / 1.08 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.8697, allocations: 25.27 kB / 1.08 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.8697, allocations: 8.781 kB / 1.08 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000624/0.8703, allocations: 481 kB / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8704, allocations: 0 / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005226/0.8709, allocations: 128.5 kB / 1.081 GB, free: 21.26 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.001553/0.8724, allocations: 444 kB / 1.081 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00092/0.8734, allocations: 398.4 kB / 1.081 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8734, allocations: 0 / 1.081 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.8736, allocations: 96.8 kB / 1.082 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.8742, allocations: 100 kB / 1.082 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.876, allocations: 1.022 MB / 1.083 GB, free: 20.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.8763, allocations: 0.8807 MB / 1.084 GB, free: 20 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.8765, allocations: 39.47 kB / 1.084 GB, free: 19.99 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.8765, allocations: 0 / 1.084 GB, free: 19.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.01384/0.8903, allocations: 6.5 MB / 1.09 GB, free: 18.95 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)