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.001179/0.001179, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007796/0.007796, allocations: 171.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.636/1.636, allocations: 252 MB / 0.5105 GB, free: 4.699 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.0005169/0.000517, allocations: 20.52 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5923/0.5928, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003377/0.5962, allocations: 2.28 MB / 0.731 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.599, allocations: 1.351 MB / 0.7323 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.5995, allocations: 7.938 kB / 0.7323 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008432/0.6003, allocations: 217.1 kB / 0.7325 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.6009, allocations: 147.4 kB / 0.7326 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.6015, allocations: 179.8 kB / 0.7328 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.6019, allocations: 410.7 kB / 0.7332 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.6022, allocations: 128 kB / 0.7333 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.6024, allocations: 135.3 kB / 0.7334 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.6026, allocations: 159.1 kB / 0.7336 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.6027, allocations: 12 kB / 0.7336 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.6028, allocations: 39.92 kB / 0.7336 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.603, allocations: 123.5 kB / 0.7338 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.6031, allocations: 224.2 kB / 0.734 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.6037, allocations: 0.5836 MB / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6037, allocations: 0 / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6037, allocations: 0 / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6037, allocations: 0 / 0.7345 GB, free: 5.266 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.001298/0.605, allocations: 0.7976 MB / 0.7353 GB, free: 4.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6051, allocations: 8.031 kB / 0.7353 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.6052, allocations: 68.09 kB / 0.7354 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.6059, allocations: 464.3 kB / 0.7358 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.6059, allocations: 20.38 kB / 0.7359 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.606, allocations: 20.12 kB / 0.7359 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.6065, allocations: 225.4 kB / 0.7361 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6065, allocations: 0 / 0.7361 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.6065, allocations: 8 kB / 0.7361 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6065, allocations: 8 kB / 0.7361 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.6069, allocations: 163.9 kB / 0.7363 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.6085, allocations: 0.897 MB / 0.7371 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.6093, allocations: 254.6 kB / 0.7374 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.6095, allocations: 92.81 kB / 0.7375 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.6096, allocations: 4 kB / 0.7375 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.61, allocations: 169 kB / 0.7376 GB, free: 1.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.61, allocations: 0 / 0.7376 GB, free: 1.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008595/0.6109, allocations: 328.7 kB / 0.738 GB, free: 1.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.611, allocations: 77.11 kB / 0.738 GB, free: 1.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.6119, allocations: 0.7033 MB / 0.7387 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.6119, allocations: 29.7 kB / 0.7387 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.6122, allocations: 292.2 kB / 0.739 GB, free: 468 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.6122, allocations: 47.39 kB / 0.7391 GB, free: 420 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.6123, allocations: 33.7 kB / 0.7391 GB, free: 380 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.6125, allocations: 374.8 kB / 0.7395 GB, free: 16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.6128, allocations: 123.9 kB / 0.7396 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.6131, allocations: 182.5 kB / 0.7397 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.6135, allocations: 219.8 kB / 0.74 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6135, allocations: 0 / 0.74 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006522/0.6142, allocations: 372.8 kB / 0.7403 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.6143, allocations: 110.7 kB / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6143, allocations: 0 / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6143, allocations: 4 kB / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.6145, allocations: 51.94 kB / 0.7405 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6145, allocations: 4 kB / 0.7405 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.6148, allocations: 51.8 kB / 0.7405 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.6148, allocations: 8 kB / 0.7405 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.6149, allocations: 4 kB / 0.7405 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004571/0.6153, allocations: 255.8 kB / 0.7408 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6153, allocations: 4 kB / 0.7408 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-06/0.6153, allocations: 0 / 0.7408 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.6155, allocations: 43.92 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6155, allocations: 12.05 kB / 0.7408 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6157, allocations: 43.77 kB / 0.7409 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.6158, allocations: 7.984 kB / 0.7409 GB, free: 14.48 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 ($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.000339/0.6161, allocations: 293 kB / 0.7412 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.6162, allocations: 59.25 kB / 0.7412 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.6163, allocations: 65.28 kB / 0.7413 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6163, allocations: 0 / 0.7413 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.6163, allocations: 3.938 kB / 0.7413 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6164, allocations: 0 / 0.7413 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.6169, allocations: 433.3 kB / 0.7417 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6169, allocations: 0 / 0.7417 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.617, allocations: 39.84 kB / 0.7417 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.617, allocations: 8 kB / 0.7417 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6171, allocations: 0 / 0.7417 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6171, allocations: 0 / 0.7417 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.6171, allocations: 7.938 kB / 0.7418 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.6178, allocations: 385.2 kB / 0.7421 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.6179, allocations: 136.4 kB / 0.7423 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.618, allocations: 12 kB / 0.7423 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6182, allocations: 32.03 kB / 0.7423 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.6183, allocations: 35.83 kB / 0.7423 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.6183, allocations: 8 kB / 0.7423 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004978/0.6188, allocations: 459 kB / 0.7428 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6188, allocations: 0 / 0.7428 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004456/0.6193, allocations: 127.8 kB / 0.7429 GB, free: 12.33 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 (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.001002/0.6203, allocations: 426.1 kB / 0.7433 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.6211, allocations: 392.2 kB / 0.7437 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6211, allocations: 0 / 0.7437 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.6213, allocations: 104.1 kB / 0.7438 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.6218, allocations: 74.94 kB / 0.7438 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.6234, allocations: 1.122 MB / 0.7449 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.6239, allocations: 0.8812 MB / 0.7458 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.6241, allocations: 54.94 kB / 0.7459 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.6242, allocations: 31.42 kB / 0.7459 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6242, allocations: 0 / 0.7459 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of Templates: time 0.009372/0.6335, allocations: 4.251 MB / 0.75 GB, free: 5.16 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: