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.765/1.765, allocations: 288.4 MB / 303.7 MB, free: 8.035 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.0009805/0.0009804, allocations: 183 kB / 372.3 MB, free: 10.14 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.548/1.548, allocations: 205.4 MB / 0.631 GB, free: 9.836 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.0009111/0.0009114, allocations: 94.28 kB / 0.7444 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005589, allocations: 13.44 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002731/0.2736, allocations: 2.268 MB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2755, allocations: 1.465 MB / 0.9838 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2757, allocations: 4 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2763, allocations: 215 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.2766, allocations: 135.3 kB / 0.9841 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.277, allocations: 159.7 kB / 0.9843 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.2774, allocations: 414.7 kB / 0.9847 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.2776, allocations: 143.8 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2778, allocations: 147.2 kB / 0.9849 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.278, allocations: 163.2 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.278, allocations: 11.94 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.2782, allocations: 47.97 kB / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2783, allocations: 119.5 kB / 0.9853 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2784, allocations: 220.3 kB / 0.9855 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.2788, allocations: 0.4988 MB / 0.986 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2788, allocations: 0 / 0.986 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2788, allocations: 0 / 0.986 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.2788, allocations: 8 kB / 0.986 GB, free: 21.33 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.001156/0.28, allocations: 0.825 MB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.28, allocations: 8.031 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.2801, allocations: 72.03 kB / 0.9869 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.2807, allocations: 484.9 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2807, allocations: 12.75 kB / 0.9873 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.2807, allocations: 27.94 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.2812, allocations: 232.2 kB / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2812, allocations: 0 / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2812, allocations: 8 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2812, allocations: 4 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.2816, allocations: 175.3 kB / 0.9878 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2828, allocations: 0.9281 MB / 0.9887 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.2834, allocations: 260.5 kB / 0.9889 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2836, allocations: 96.8 kB / 0.989 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2836, allocations: 4 kB / 0.989 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.284, allocations: 173 kB / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.284, allocations: 0 / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006735/0.2847, allocations: 342.4 kB / 0.9895 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2847, allocations: 85.11 kB / 0.9896 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.2853, allocations: 0.7112 MB / 0.9903 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2854, allocations: 29.7 kB / 0.9903 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2855, allocations: 296.3 kB / 0.9906 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.2856, allocations: 47.44 kB / 0.9906 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.2856, allocations: 4 kB / 0.9906 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.2857, allocations: 378.8 kB / 0.991 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2859, allocations: 119.9 kB / 0.9911 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2862, allocations: 177.8 kB / 0.9913 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.2866, allocations: 221.5 kB / 0.9915 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2866, allocations: 0 / 0.9915 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005494/0.2871, allocations: 381.3 kB / 0.9919 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.2872, allocations: 118.6 kB / 0.992 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2872, allocations: 7.938 kB / 0.992 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2872, allocations: 0 / 0.992 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2875, allocations: 55.91 kB / 0.992 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2875, allocations: 4 kB / 0.992 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2877, allocations: 55.8 kB / 0.9921 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.2877, allocations: 12 kB / 0.9921 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.2878, allocations: 5.719 kB / 0.9921 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004294/0.2882, allocations: 255.8 kB / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.2882, allocations: 0 / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-06/0.2882, allocations: 0 / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2884, allocations: 51.91 kB / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2884, allocations: 7.938 kB / 0.9924 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.2886, allocations: 47.88 kB / 0.9925 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2886, allocations: 12 kB / 0.9925 GB, free: 14.41 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.000206/0.2889, allocations: 297 kB / 0.9927 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.2889, allocations: 59.25 kB / 0.9928 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/0.289, allocations: 65.36 kB / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.289, allocations: 7.938 kB / 0.9929 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.289, allocations: 0 / 0.9929 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.289, allocations: 0 / 0.9929 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2894, allocations: 441.3 kB / 0.9933 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2894, allocations: 0 / 0.9933 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2895, allocations: 31.92 kB / 0.9933 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2895, allocations: 4 kB / 0.9933 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2896, allocations: 3.984 kB / 0.9933 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2896, allocations: 7.938 kB / 0.9933 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2896, allocations: 0 / 0.9933 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.2902, allocations: 396.1 kB / 0.9937 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2903, allocations: 136.4 kB / 0.9938 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.2904, allocations: 4 kB / 0.9938 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2906, allocations: 47.97 kB / 0.9939 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.2907, allocations: 27.95 kB / 0.9939 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2907, allocations: 4 kB / 0.9939 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004258/0.2911, allocations: 475 kB / 0.9944 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2911, allocations: 0 / 0.9944 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003978/0.2915, allocations: 135.6 kB / 0.9945 GB, free: 12.21 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.0009295/0.2925, allocations: 426.6 kB / 0.9949 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007024/0.2932, allocations: 395.7 kB / 0.9953 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2932, allocations: 0 / 0.9953 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2934, allocations: 111.2 kB / 0.9954 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.2939, allocations: 91.45 kB / 0.9955 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2952, allocations: 1.107 MB / 0.9966 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2954, allocations: 0.8793 MB / 0.9974 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.2956, allocations: 62.94 kB / 0.9975 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.2957, allocations: 39.42 kB / 0.9975 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2957, allocations: 0 / 0.9975 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of Templates: time 0.008285/0.304, allocations: 4.566 MB / 1.002 GB, free: 4.703 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)