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.0007479/0.000748, allocations: 84.38 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.0008431/0.0008433, 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.607/1.607, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005677/0.0005681, allocations: 18.94 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003544/0.2626, allocations: 2.28 MB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2653, allocations: 1.465 MB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.2657, allocations: 7.938 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.2665, allocations: 215 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.267, allocations: 143.3 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.2676, allocations: 154.6 kB / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.2683, allocations: 410.7 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.2687, allocations: 110.2 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.269, allocations: 143.2 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.2693, allocations: 171.2 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.2693, allocations: 8 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.2695, allocations: 39.98 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2697, allocations: 127.5 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2698, allocations: 105.4 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.2705, allocations: 0.5065 MB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2705, allocations: 0 / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2705, allocations: 0 / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.2705, allocations: 0 / 0.793 GB, free: 6.055 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.001834/0.2724, allocations: 0.8327 MB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2724, allocations: 8.031 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.2726, allocations: 71.11 kB / 0.7939 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.2735, allocations: 464 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.2735, allocations: 12.38 kB / 0.7943 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.2736, allocations: 24 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.2741, allocations: 232.2 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2742, allocations: 0 / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2742, allocations: 4 kB / 0.7946 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2742, allocations: 8 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.2746, allocations: 179.2 kB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2763, allocations: 0.9165 MB / 0.7957 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.277, allocations: 266.5 kB / 0.7959 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2772, allocations: 92.81 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.2772, allocations: 7.984 kB / 0.796 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.2776, allocations: 169 kB / 0.7962 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2776, allocations: 4 kB / 0.7962 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008156/0.2784, allocations: 335.1 kB / 0.7965 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2785, allocations: 85.11 kB / 0.7966 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.2794, allocations: 0.7112 MB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.2794, allocations: 33.69 kB / 0.7973 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.2797, allocations: 292.3 kB / 0.7976 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.2798, allocations: 43.45 kB / 0.7976 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.2798, allocations: 4 kB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.28, allocations: 382.8 kB / 0.798 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2802, allocations: 119.9 kB / 0.7981 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.2806, allocations: 177.2 kB / 0.7983 GB, free: 400 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.2808, allocations: 125.1 kB / 0.7984 GB, free: 276 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2808, allocations: 0 / 0.7984 GB, free: 276 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006739/0.2815, allocations: 388.7 kB / 0.7988 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.2816, allocations: 98.72 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2816, allocations: 0 / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2817, allocations: 4 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2819, allocations: 67.92 kB / 0.7989 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2819, allocations: 0 / 0.7989 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.2822, allocations: 55.75 kB / 0.799 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2822, allocations: 12 kB / 0.799 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.2822, allocations: 0 / 0.799 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004914/0.2827, allocations: 263.8 kB / 0.7992 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2827, allocations: 4 kB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.2828, allocations: 3.953 kB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.283, allocations: 55.97 kB / 0.7993 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.283, allocations: 0 / 0.7993 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2832, allocations: 47.81 kB / 0.7994 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2832, allocations: 8 kB / 0.7994 GB, free: 15.26 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 ($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.0003215/0.2836, allocations: 297 kB / 0.7996 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.2836, allocations: 63.19 kB / 0.7997 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2838, allocations: 65.33 kB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2838, allocations: 4 kB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.2838, allocations: 0 / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2838, allocations: 0 / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.2843, allocations: 441.2 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2843, allocations: 0 / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2844, allocations: 31.97 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2845, allocations: 0 / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.2845, allocations: 8 kB / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2845, allocations: 7.891 kB / 0.8002 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2845, allocations: 0 / 0.8002 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.2853, allocations: 400.1 kB / 0.8006 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2854, allocations: 140.4 kB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.2855, allocations: 4 kB / 0.8008 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2857, allocations: 31.97 kB / 0.8008 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.2857, allocations: 27.91 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2858, allocations: 12 kB / 0.8008 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006058/0.2864, allocations: 475 kB / 0.8013 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2864, allocations: 0 / 0.8013 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004913/0.2869, allocations: 131.7 kB / 0.8014 GB, free: 13.06 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 (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.001059/0.288, allocations: 436.3 kB / 0.8018 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.2888, allocations: 407.2 kB / 0.8022 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2888, allocations: 0 / 0.8022 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.289, allocations: 104.1 kB / 0.8023 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.2895, allocations: 78.94 kB / 0.8024 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2912, allocations: 1.099 MB / 0.8035 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.2918, allocations: 0.8859 MB / 0.8043 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.292, allocations: 66.92 kB / 0.8044 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.2921, allocations: 31.42 kB / 0.8044 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/0.2921, allocations: 0 / 0.8044 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.01062/0.3028, allocations: 4.559 MB / 0.8089 GB, free: 5.566 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: