Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.3 MB / 303.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 187.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 107.9 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004878, allocations: 12.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002936/0.2767, allocations: 2.245 MB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2786, allocations: 1.453 MB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.2788, allocations: 7.938 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.2794, allocations: 199.2 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.2797, allocations: 159.5 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.2801, allocations: 159.6 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.2805, allocations: 287.4 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2807, allocations: 110.2 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2809, allocations: 151.3 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.2811, allocations: 163.2 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.2811, allocations: 8 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.2812, allocations: 39.91 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2814, allocations: 123.6 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.2814, allocations: 105.4 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.2819, allocations: 0.5065 MB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2819, allocations: 0 / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2819, allocations: 0 / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2819, allocations: 0 / 0.985 GB, free: 21.99 MB / 0.6198 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.001182/0.2831, allocations: 0.8249 MB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2831, allocations: 8.031 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.2832, allocations: 75.09 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.2838, allocations: 456 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.2838, allocations: 20.38 kB / 0.9863 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.2839, allocations: 27.94 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.2843, allocations: 228.2 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2844, allocations: 0 / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.2844, allocations: 8 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2844, allocations: 4 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.2848, allocations: 183.2 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.286, allocations: 0.9165 MB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.2867, allocations: 258.6 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.2868, allocations: 7.984 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.2871, allocations: 175.9 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.2871, allocations: 0 / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006896/0.2878, allocations: 336.7 kB / 0.9884 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2878, allocations: 81.11 kB / 0.9885 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.2885, allocations: 0.7151 MB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2885, allocations: 37.7 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2887, allocations: 292.3 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.2888, allocations: 43.44 kB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.2888, allocations: 8 kB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2889, allocations: 370.8 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2891, allocations: 127.9 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2894, allocations: 181.8 kB / 0.9902 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.2896, allocations: 123 kB / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2896, allocations: 0 / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005796/0.2902, allocations: 385.3 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.617e-05/0.2903, allocations: 271.3 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2903, allocations: 0 / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2903, allocations: 4 kB / 0.9909 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2906, allocations: 63.89 kB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2906, allocations: 3.953 kB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.2908, allocations: 55.81 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.2908, allocations: 4 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.2909, allocations: 4 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004047/0.2913, allocations: 263.8 kB / 0.9913 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2913, allocations: 11.92 kB / 0.9913 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-06/0.2913, allocations: 0 / 0.9913 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2915, allocations: 55.91 kB / 0.9914 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.2915, allocations: 0 / 0.9914 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2917, allocations: 51.88 kB / 0.9914 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2917, allocations: 4 kB / 0.9914 GB, free: 15.12 MB / 0.6198 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.0002259/0.2919, allocations: 301 kB / 0.9917 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.292, allocations: 59.25 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.2921, allocations: 65.38 kB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2921, allocations: 4 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2921, allocations: 0 / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2921, allocations: 4.031 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2925, allocations: 437.3 kB / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2925, allocations: 3.953 kB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2926, allocations: 27.97 kB / 0.9923 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2926, allocations: 0 / 0.9923 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2927, allocations: 8 kB / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2927, allocations: 11.94 kB / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2927, allocations: 0 / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.2933, allocations: 400.1 kB / 0.9927 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2934, allocations: 140.3 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.2935, allocations: 4 kB / 0.9928 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2937, allocations: 36.03 kB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2938, allocations: 23.95 kB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2938, allocations: 12 kB / 0.9929 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004371/0.2942, allocations: 471 kB / 0.9933 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2942, allocations: 0 / 0.9933 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004166/0.2947, allocations: 131.9 kB / 0.9935 GB, free: 12.93 MB / 0.6198 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.0009911/0.2957, allocations: 434.2 kB / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.2964, allocations: 407.1 kB / 0.9943 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2964, allocations: 0 / 0.9943 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2966, allocations: 100.1 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.2971, allocations: 85.81 kB / 0.9944 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2986, allocations: 1.099 MB / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.299, allocations: 0.8943 MB / 0.9964 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.2992, allocations: 66.91 kB / 0.9964 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.2993, allocations: 35.42 kB / 0.9965 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2993, allocations: 0 / 0.9965 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of Templates: time 0.008701/0.308, allocations: 4.539 MB / 1.001 GB, free: 5.441 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)