Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 198.7 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 123.5 kB / 0.9329 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 49.58 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2826, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003818/0.2865, allocations: 2.705 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.2885, allocations: 1.635 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.2887, allocations: 7.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.2894, allocations: 233.6 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2897, allocations: 151.3 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.2901, allocations: 227.2 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.2906, allocations: 446.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.2908, allocations: 135.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.291, allocations: 159.2 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2912, allocations: 199 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.2912, allocations: 12 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2914, allocations: 51.97 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2915, allocations: 135.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2917, allocations: 218.3 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.2921, allocations: 0.6266 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2921, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2921, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2921, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 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.001237/0.2934, allocations: 0.9142 MB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2934, allocations: 11.98 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.2935, allocations: 68.09 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.294, allocations: 480.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.294, allocations: 16.75 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.2941, allocations: 27.94 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.2945, allocations: 218.5 kB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2945, allocations: 3.938 kB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2945, allocations: 8 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2945, allocations: 4 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.2949, allocations: 159.9 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2961, allocations: 0.9123 MB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.2967, allocations: 238.6 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2969, allocations: 84.81 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2969, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.2972, allocations: 163.7 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.2972, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.00064/0.2979, allocations: 316.6 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2979, allocations: 81.11 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.2985, allocations: 0.7151 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2985, allocations: 33.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.2986, allocations: 300.2 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.2987, allocations: 43.39 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.2988, allocations: 69.59 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.2988, allocations: 374.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.2991, allocations: 124.7 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.2993, allocations: 174.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.2997, allocations: 209.2 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2997, allocations: 4 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005243/0.3002, allocations: 356.7 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3003, allocations: 7.938 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3003, allocations: 7.984 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3003, allocations: 0 / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3005, allocations: 59.97 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3005, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3007, allocations: 35.81 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3008, allocations: 11.98 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002823/0.3011, allocations: 276 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001916/0.3013, allocations: 165.1 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002667/0.3015, allocations: 170.5 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3015, allocations: 4 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0004334/0.302, allocations: 332.8 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.302, allocations: 8 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.302, allocations: 3.984 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-06/0.302, allocations: 3.938 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3022, allocations: 51.91 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.3022, allocations: 0 / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3024, allocations: 39.81 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3024, allocations: 16.06 kB / 1.232 GB, free: 102.8 MB / 0.823 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 8.014e-05/0.3025, allocations: 202.2 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3026, allocations: 63.19 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.3027, allocations: 61.31 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3027, allocations: 4 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3027, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3027, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.303, allocations: 441.2 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.303, allocations: 4 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.3031, allocations: 27.97 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3031, allocations: 3.938 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3032, allocations: 4 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3032, allocations: 3.938 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3032, allocations: 3.938 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.3062, allocations: 2.346 MB / 1.235 GB, free: 99.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.3063, allocations: 136.4 kB / 1.235 GB, free: 99.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3064, allocations: 8 kB / 1.235 GB, free: 99.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3065, allocations: 19.97 kB / 1.235 GB, free: 99.26 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.3066, allocations: 27.97 kB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3067, allocations: 7.984 kB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004304/0.3071, allocations: 475.1 kB / 1.236 GB, free: 98.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3071, allocations: 0 / 1.236 GB, free: 98.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007355/0.3078, allocations: 191.6 kB / 1.236 GB, free: 98.58 MB / 0.823 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.001052/0.3089, allocations: 425.9 kB / 1.236 GB, free: 98.31 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007538/0.3097, allocations: 384.2 kB / 1.237 GB, free: 97.94 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3097, allocations: 4 kB / 1.237 GB, free: 97.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3099, allocations: 91.89 kB / 1.237 GB, free: 97.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3104, allocations: 93.45 kB / 1.237 GB, free: 97.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3118, allocations: 1.276 MB / 1.238 GB, free: 96.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.312, allocations: 0.8934 MB / 1.239 GB, free: 95.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.3122, allocations: 66.94 kB / 1.239 GB, free: 95.46 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.3123, allocations: 31.42 kB / 1.239 GB, free: 95.43 MB / 0.823 GB Notification: Performance of SimCode: time 3.41e-07/0.3123, allocations: 0 / 1.239 GB, free: 95.43 MB / 0.823 GB Notification: Performance of Templates: time 0.007906/0.3202, allocations: 4.989 MB / 1.244 GB, free: 90.48 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)