Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009249/0.000925, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001158/0.001158, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.355 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 0.5102 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 16.22 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.5996, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003167/0.6028, allocations: 2.207 MB / 0.7303 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.6048, allocations: 1.292 MB / 0.7315 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.605, allocations: 4 kB / 0.7316 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.6055, allocations: 211 kB / 0.7318 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.6058, allocations: 127.4 kB / 0.7319 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.6062, allocations: 143.7 kB / 0.732 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.6066, allocations: 390.7 kB / 0.7324 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.6068, allocations: 99.05 kB / 0.7325 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.607, allocations: 139.3 kB / 0.7326 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.6072, allocations: 155.2 kB / 0.7328 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.6073, allocations: 8 kB / 0.7328 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.6074, allocations: 35.92 kB / 0.7328 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.6075, allocations: 115.6 kB / 0.7329 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.388e-05/0.6076, allocations: 105.4 kB / 0.733 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.608, allocations: 490.7 kB / 0.7335 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.608, allocations: 0 / 0.7335 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6081, allocations: 0 / 0.7335 GB, free: 5.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6081, allocations: 0 / 0.7335 GB, free: 5.879 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001216/0.6093, allocations: 0.8091 MB / 0.7343 GB, free: 5.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6093, allocations: 8.031 kB / 0.7343 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.6094, allocations: 71.11 kB / 0.7343 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.61, allocations: 431.7 kB / 0.7348 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.61, allocations: 16 kB / 0.7348 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.61, allocations: 20 kB / 0.7348 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.6105, allocations: 217.5 kB / 0.735 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6105, allocations: 0 / 0.735 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.6105, allocations: 12 kB / 0.735 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.6105, allocations: 4 kB / 0.735 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.611, allocations: 171.9 kB / 0.7352 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.6122, allocations: 0.8894 MB / 0.736 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.6128, allocations: 253.4 kB / 0.7363 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.613, allocations: 100.8 kB / 0.7364 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.6131, allocations: 8 kB / 0.7364 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.6134, allocations: 164.1 kB / 0.7365 GB, free: 2.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/0.6134, allocations: 0 / 0.7365 GB, free: 2.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006939/0.6141, allocations: 332.7 kB / 0.7369 GB, free: 2.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.6142, allocations: 81.11 kB / 0.7369 GB, free: 2.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.615, allocations: 0.6838 MB / 0.7376 GB, free: 1.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.615, allocations: 33.7 kB / 0.7376 GB, free: 1.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.6153, allocations: 296.2 kB / 0.7379 GB, free: 1.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.6154, allocations: 47.39 kB / 0.738 GB, free: 1.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.6154, allocations: 0 / 0.738 GB, free: 1.055 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6156, allocations: 378.8 kB / 0.7383 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.6158, allocations: 116 kB / 0.7384 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.6161, allocations: 182.8 kB / 0.7386 GB, free: 376 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6163, allocations: 125.5 kB / 0.7387 GB, free: 252 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6163, allocations: 0 / 0.7387 GB, free: 252 kB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006429/0.617, allocations: 380.8 kB / 0.7391 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.282e-05/0.6171, allocations: 102.7 kB / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6171, allocations: 4 kB / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6171, allocations: 0 / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.6173, allocations: 59.94 kB / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6173, allocations: 0 / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.6176, allocations: 51.8 kB / 0.7393 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.6176, allocations: 11.98 kB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.6176, allocations: 5.719 kB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004436/0.6181, allocations: 255.8 kB / 0.7396 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6181, allocations: 4 kB / 0.7396 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.6181, allocations: 0 / 0.7396 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.6183, allocations: 43.88 kB / 0.7396 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.6183, allocations: 12.05 kB / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.6186, allocations: 39.83 kB / 0.7397 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.6186, allocations: 15.98 kB / 0.7397 GB, free: 15.26 MB / 0.5606 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.6189, allocations: 285 kB / 0.74 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.619, allocations: 63.25 kB / 0.74 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.6191, allocations: 65.28 kB / 0.7401 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.6191, allocations: 3.953 kB / 0.7401 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6191, allocations: 0 / 0.7401 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6191, allocations: 0 / 0.7401 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.6195, allocations: 433.2 kB / 0.7405 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6195, allocations: 0 / 0.7405 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.6197, allocations: 35.91 kB / 0.7405 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6197, allocations: 4 kB / 0.7405 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.6197, allocations: 4 kB / 0.7405 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6197, allocations: 4 kB / 0.7405 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6197, allocations: 3.953 kB / 0.7405 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.6205, allocations: 376.1 kB / 0.7409 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6206, allocations: 136.4 kB / 0.741 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.6207, allocations: 12.06 kB / 0.741 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.6208, allocations: 35.97 kB / 0.7411 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.6209, allocations: 27.89 kB / 0.7411 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.6209, allocations: 7.953 kB / 0.7411 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005181/0.6215, allocations: 467 kB / 0.7416 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6215, allocations: 0 / 0.7416 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000403/0.6219, allocations: 115.8 kB / 0.7417 GB, free: 13.12 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.6229, allocations: 423.8 kB / 0.7421 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.6237, allocations: 388.6 kB / 0.7424 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6237, allocations: 4 kB / 0.7424 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.6239, allocations: 96.14 kB / 0.7425 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6243, allocations: 79.36 kB / 0.7426 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.6258, allocations: 1.056 MB / 0.7436 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6263, allocations: 0.8775 MB / 0.7445 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.6265, allocations: 54.88 kB / 0.7446 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.6266, allocations: 31.42 kB / 0.7446 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/0.6266, allocations: 0 / 0.7446 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.00845/0.6351, allocations: 4.15 MB / 0.7486 GB, free: 6.129 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) Environment - environmentSimulation: