Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008539/0.0008541, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007266/0.007266, allocations: 168.4 kB / 16.26 MB, free: 6.66 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.749/1.749, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005739/0.0005739, allocations: 12.62 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2649, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003379/0.2683, allocations: 2.357 MB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2707, allocations: 1.531 MB / 0.7917 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.2709, allocations: 4 kB / 0.7917 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.2715, allocations: 231.4 kB / 0.7919 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.2719, allocations: 147.4 kB / 0.792 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.2723, allocations: 199.8 kB / 0.7922 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.2728, allocations: 442.6 kB / 0.7927 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.2731, allocations: 143.9 kB / 0.7928 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.2733, allocations: 139.2 kB / 0.7929 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2735, allocations: 179 kB / 0.7931 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.2735, allocations: 8 kB / 0.7931 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2737, allocations: 47.98 kB / 0.7932 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2738, allocations: 127.4 kB / 0.7933 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.274, allocations: 228.1 kB / 0.7935 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.2746, allocations: 0.6147 MB / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2746, allocations: 3.938 kB / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2746, allocations: 0 / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2746, allocations: 0 / 0.7941 GB, free: 5.195 MB / 0.6075 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.001372/0.276, allocations: 0.8212 MB / 0.7949 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2761, allocations: 8.031 kB / 0.7949 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2762, allocations: 72.09 kB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.2768, allocations: 492.8 kB / 0.7954 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2768, allocations: 16.69 kB / 0.7955 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.2769, allocations: 31.88 kB / 0.7955 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.2774, allocations: 220.3 kB / 0.7957 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2774, allocations: 4 kB / 0.7957 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.2774, allocations: 12 kB / 0.7957 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2775, allocations: 4 kB / 0.7957 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.2779, allocations: 179.2 kB / 0.7959 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2792, allocations: 0.9204 MB / 0.7968 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.2799, allocations: 262.6 kB / 0.797 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2802, allocations: 92.81 kB / 0.7971 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.2802, allocations: 0 / 0.7971 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.2805, allocations: 184.9 kB / 0.7973 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2805, allocations: 0 / 0.7973 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007775/0.2813, allocations: 343.4 kB / 0.7976 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.2814, allocations: 81.09 kB / 0.7977 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.2822, allocations: 0.7151 MB / 0.7984 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2822, allocations: 33.7 kB / 0.7984 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2825, allocations: 292.3 kB / 0.7987 GB, free: 240 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.2825, allocations: 43.45 kB / 0.7988 GB, free: 196 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.2826, allocations: 41.69 kB / 0.7988 GB, free: 148 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2828, allocations: 374.8 kB / 0.7992 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.2831, allocations: 127.9 kB / 0.7993 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.2834, allocations: 177 kB / 0.7994 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.2839, allocations: 222.5 kB / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2839, allocations: 0 / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006686/0.2846, allocations: 376.7 kB / 0.8 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.2847, allocations: 114.6 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2847, allocations: 0 / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2847, allocations: 8.031 kB / 0.8001 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.285, allocations: 55.91 kB / 0.8002 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.285, allocations: 0 / 0.8002 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.2852, allocations: 55.81 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.2853, allocations: 11.98 kB / 0.8003 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.2853, allocations: 6.656 kB / 0.8003 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004888/0.2858, allocations: 264 kB / 0.8005 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.2858, allocations: 0 / 0.8005 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.2858, allocations: 4.062 kB / 0.8005 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.286, allocations: 51.97 kB / 0.8006 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.286, allocations: 11.88 kB / 0.8006 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2862, allocations: 47.75 kB / 0.8006 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2863, allocations: 8 kB / 0.8006 GB, free: 14.21 MB / 0.6231 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.0002832/0.2866, allocations: 297 kB / 0.8009 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.2866, allocations: 59.25 kB / 0.801 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2868, allocations: 61.38 kB / 0.801 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2868, allocations: 7.938 kB / 0.801 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.2868, allocations: 0 / 0.801 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2868, allocations: 4.031 kB / 0.801 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.2873, allocations: 449.3 kB / 0.8015 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2873, allocations: 0 / 0.8015 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.2875, allocations: 31.92 kB / 0.8015 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2875, allocations: 4 kB / 0.8015 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2875, allocations: 3.984 kB / 0.8015 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2875, allocations: 3.938 kB / 0.8015 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2875, allocations: 0 / 0.8015 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.2883, allocations: 404.1 kB / 0.8019 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2885, allocations: 132.3 kB / 0.802 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.2885, allocations: 8 kB / 0.802 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2887, allocations: 35.91 kB / 0.8021 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.2888, allocations: 27.97 kB / 0.8021 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2888, allocations: 11.98 kB / 0.8021 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005436/0.2894, allocations: 479 kB / 0.8026 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2894, allocations: 0 / 0.8026 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004562/0.2898, allocations: 131.7 kB / 0.8027 GB, free: 12 MB / 0.6231 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.001118/0.291, allocations: 423.4 kB / 0.8031 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008397/0.2918, allocations: 411.2 kB / 0.8035 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2918, allocations: 0 / 0.8035 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2921, allocations: 99.89 kB / 0.8036 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.2926, allocations: 91.86 kB / 0.8037 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.2945, allocations: 1.15 MB / 0.8048 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.2952, allocations: 0.8909 MB / 0.8057 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.2954, allocations: 58.92 kB / 0.8057 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.2955, allocations: 31.42 kB / 0.8057 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2955, allocations: 0 / 0.8057 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of Templates: time 0.009708/0.3053, allocations: 4.666 MB / 0.8103 GB, free: 4.355 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) Environment - environmentSimulation: