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.001234/0.001234, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001921/0.001921, allocations: 177.3 kB / 15.95 MB, free: 216 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.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.557/1.557, allocations: 251.9 MB / 0.51 GB, free: 4.902 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.0005322/0.0005323, allocations: 12 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.604, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003344/0.6074, allocations: 2.175 MB / 0.7301 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.6097, allocations: 1.281 MB / 0.7314 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.6099, allocations: 11.94 kB / 0.7314 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.6104, allocations: 195.3 kB / 0.7316 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.6108, allocations: 151.5 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.6113, allocations: 138.3 kB / 0.7318 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.6117, allocations: 263.4 kB / 0.7321 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.6119, allocations: 104.4 kB / 0.7322 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.6121, allocations: 143.3 kB / 0.7323 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.6124, allocations: 147.3 kB / 0.7325 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.6124, allocations: 8 kB / 0.7325 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.6125, allocations: 31.92 kB / 0.7325 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.6127, allocations: 119.5 kB / 0.7326 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.6128, allocations: 109.4 kB / 0.7327 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.6133, allocations: 486.8 kB / 0.7332 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6133, allocations: 0 / 0.7332 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6133, allocations: 0 / 0.7332 GB, free: 6.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6133, allocations: 0 / 0.7332 GB, free: 6.098 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.001379/0.6147, allocations: 0.8091 MB / 0.734 GB, free: 5.238 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6147, allocations: 8.031 kB / 0.734 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6148, allocations: 71.11 kB / 0.734 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.6155, allocations: 431.7 kB / 0.7345 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6155, allocations: 23.94 kB / 0.7345 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.6156, allocations: 16 kB / 0.7345 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.6161, allocations: 217.5 kB / 0.7347 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6161, allocations: 0 / 0.7347 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.6162, allocations: 8 kB / 0.7347 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.6162, allocations: 8 kB / 0.7347 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.6166, allocations: 167.9 kB / 0.7349 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.618, allocations: 0.8933 MB / 0.7357 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.6187, allocations: 246.7 kB / 0.736 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.6188, allocations: 15.94 kB / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.6192, allocations: 157 kB / 0.7361 GB, free: 2.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 4.198e-06/0.6192, allocations: 0 / 0.7361 GB, free: 2.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000741/0.62, allocations: 332.2 kB / 0.7365 GB, free: 2.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.6201, allocations: 77.11 kB / 0.7365 GB, free: 2.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.6209, allocations: 0.6916 MB / 0.7372 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.6209, allocations: 33.7 kB / 0.7372 GB, free: 1.711 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.6212, allocations: 292.2 kB / 0.7375 GB, free: 1.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.6213, allocations: 43.39 kB / 0.7376 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.6213, allocations: 8 kB / 0.7376 GB, free: 1.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6215, allocations: 374.8 kB / 0.7379 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.6217, allocations: 119.9 kB / 0.738 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.622, allocations: 182.8 kB / 0.7382 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.6223, allocations: 121.6 kB / 0.7383 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6223, allocations: 0 / 0.7383 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006531/0.623, allocations: 380.7 kB / 0.7387 GB, free: 192 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.6231, allocations: 272.9 kB / 0.739 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6231, allocations: 0 / 0.739 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6232, allocations: 8.031 kB / 0.739 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6234, allocations: 47.91 kB / 0.739 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6234, allocations: 4 kB / 0.739 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.6237, allocations: 55.7 kB / 0.7391 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.6237, allocations: 15.94 kB / 0.7391 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.6237, allocations: 4 kB / 0.7391 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004593/0.6242, allocations: 251.8 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6242, allocations: 4 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.6242, allocations: 4 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6244, allocations: 47.97 kB / 0.7394 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6244, allocations: 4 kB / 0.7394 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.6246, allocations: 39.81 kB / 0.7394 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.6247, allocations: 8 kB / 0.7394 GB, free: 15.42 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.0002974/0.625, allocations: 301 kB / 0.7397 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.625, allocations: 59.2 kB / 0.7398 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.6251, allocations: 57.3 kB / 0.7398 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6252, allocations: 4 kB / 0.7398 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6252, allocations: 0 / 0.7398 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6252, allocations: 0 / 0.7398 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.6256, allocations: 437.2 kB / 0.7402 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6256, allocations: 48 / 0.7402 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.6257, allocations: 35.97 kB / 0.7403 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6258, allocations: 3.953 kB / 0.7403 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.6258, allocations: 7.984 kB / 0.7403 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6258, allocations: 0 / 0.7403 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6258, allocations: 3.938 kB / 0.7403 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.6265, allocations: 384.2 kB / 0.7407 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6266, allocations: 132.4 kB / 0.7408 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.6267, allocations: 11.95 kB / 0.7408 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.6269, allocations: 27.97 kB / 0.7408 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.627, allocations: 31.89 kB / 0.7409 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.627, allocations: 8 kB / 0.7409 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005027/0.6275, allocations: 459.1 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6275, allocations: 3.938 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004492/0.6279, allocations: 119.8 kB / 0.7414 GB, free: 13.27 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.001032/0.629, allocations: 430.5 kB / 0.7418 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.6298, allocations: 380.7 kB / 0.7422 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6298, allocations: 4.25 kB / 0.7422 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.63, allocations: 95.89 kB / 0.7423 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.6305, allocations: 73.69 kB / 0.7424 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.632, allocations: 1.064 MB / 0.7434 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.6325, allocations: 0.8891 MB / 0.7443 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.6327, allocations: 58.92 kB / 0.7443 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.6328, allocations: 31.42 kB / 0.7444 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.6328, allocations: 0 / 0.7444 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.01065/0.6435, allocations: 4.135 MB / 0.7484 GB, free: 6.273 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: