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.751/1.751, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001203/0.001203, allocations: 180.5 kB / 372 MB, free: 10.23 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.576/1.576, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007359/0.0007356, allocations: 95.19 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 11.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002697/0.238, allocations: 2.261 MB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.2402, allocations: 1.473 MB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.2405, allocations: 7.938 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.2411, allocations: 215 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.2415, allocations: 131.4 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.2419, allocations: 161.9 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.2422, allocations: 410.7 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2425, allocations: 121 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2426, allocations: 143.2 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2428, allocations: 163.2 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.2428, allocations: 12 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2429, allocations: 39.98 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.243, allocations: 123.5 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.2431, allocations: 109.4 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.2435, allocations: 0.5065 MB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2436, allocations: 8 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2436, allocations: 0 / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2436, allocations: 0 / 0.9853 GB, free: 21.78 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.001546/0.2451, allocations: 0.8249 MB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.2452, allocations: 8.031 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2454, allocations: 71.11 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.246, allocations: 456 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.246, allocations: 20.36 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.246, allocations: 24 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.2465, allocations: 224.2 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2465, allocations: 0 / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.2465, allocations: 4 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2466, allocations: 7.938 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2469, allocations: 183.2 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2481, allocations: 0.9243 MB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.2488, allocations: 258.6 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.249, allocations: 100.8 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.249, allocations: 0 / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.2494, allocations: 177 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.2494, allocations: 4 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007037/0.2501, allocations: 329.9 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.2501, allocations: 85.11 kB / 0.9889 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.2508, allocations: 0.7151 MB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2509, allocations: 33.7 kB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2511, allocations: 288.3 kB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2511, allocations: 51.42 kB / 0.9899 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.2511, allocations: 4 kB / 0.9899 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2513, allocations: 378.8 kB / 0.9903 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.2515, allocations: 123.9 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.2518, allocations: 177.8 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.252, allocations: 119 kB / 0.9907 GB, free: 16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.252, allocations: 0 / 0.9907 GB, free: 16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005477/0.2526, allocations: 385.3 kB / 0.9911 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.2526, allocations: 111 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2526, allocations: 3.938 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2526, allocations: 4 kB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.2529, allocations: 59.91 kB / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2529, allocations: 0 / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2531, allocations: 63.8 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.2532, allocations: 4 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.2532, allocations: 4 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004075/0.2536, allocations: 263.8 kB / 0.9915 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.2536, allocations: 0 / 0.9915 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.2536, allocations: 7.953 kB / 0.9916 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.2538, allocations: 51.91 kB / 0.9916 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.2538, allocations: 3.984 kB / 0.9916 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.254, allocations: 47.84 kB / 0.9917 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.2541, allocations: 8 kB / 0.9917 GB, free: 14.98 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.00022/0.2543, allocations: 301 kB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.2544, allocations: 59.25 kB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2545, allocations: 69.31 kB / 0.9921 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2545, allocations: 7.938 kB / 0.9921 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2545, allocations: 0 / 0.9921 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2545, allocations: 4 kB / 0.9921 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.2549, allocations: 441.3 kB / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2549, allocations: 0 / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.255, allocations: 23.98 kB / 0.9925 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2551, allocations: 0 / 0.9925 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2551, allocations: 11.98 kB / 0.9925 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2551, allocations: 7.891 kB / 0.9925 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2551, allocations: 0 / 0.9925 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.2558, allocations: 400.9 kB / 0.9929 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.2559, allocations: 132.4 kB / 0.9931 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.2559, allocations: 8 kB / 0.9931 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2561, allocations: 36.03 kB / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.2562, allocations: 27.91 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.2562, allocations: 8 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003955/0.2566, allocations: 471 kB / 0.9936 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2566, allocations: 4 kB / 0.9936 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003888/0.257, allocations: 131.7 kB / 0.9937 GB, free: 12.79 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.0008627/0.2579, allocations: 432 kB / 0.9941 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007295/0.2586, allocations: 399.7 kB / 0.9945 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2586, allocations: 0 / 0.9945 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2588, allocations: 99.88 kB / 0.9946 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.2593, allocations: 93.62 kB / 0.9947 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2606, allocations: 1.107 MB / 0.9958 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2609, allocations: 0.882 MB / 0.9966 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.2611, allocations: 58.94 kB / 0.9967 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.2612, allocations: 35.42 kB / 0.9967 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2612, allocations: 0 / 0.9967 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of Templates: time 0.008239/0.2694, allocations: 4.538 MB / 1.001 GB, free: 5.301 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)