Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 179.1 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.569/2.569, allocations: 205.4 MB / 0.5766 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 104.2 kB / 0.6811 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006346, allocations: 16.84 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2462, allocations: 106.3 MB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003293/0.2495, allocations: 2.177 MB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2521, allocations: 1.281 MB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.2525, allocations: 7.938 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.2532, allocations: 199.2 kB / 0.9025 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.2537, allocations: 147.5 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.2543, allocations: 135.7 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.2547, allocations: 271.4 kB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.255, allocations: 98.36 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2552, allocations: 143.4 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.2555, allocations: 151.2 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.2555, allocations: 15.94 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2557, allocations: 31.92 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2558, allocations: 111.6 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.2559, allocations: 105.4 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.2565, allocations: 486.8 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2565, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2565, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2565, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001579/0.2581, allocations: 0.809 MB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2582, allocations: 12.03 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.2583, allocations: 71.09 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.259, allocations: 435.7 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2591, allocations: 16 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.2592, allocations: 20 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.2598, allocations: 213.5 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2599, allocations: 4 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.2599, allocations: 4 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2599, allocations: 11.94 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.2605, allocations: 175.8 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.2625, allocations: 0.8817 MB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2636, allocations: 246.6 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.2637, allocations: 4 kB / 0.9069 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.2642, allocations: 172.9 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.875e-06/0.2642, allocations: 0 / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001197/0.2654, allocations: 327.4 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2655, allocations: 85.05 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009993/0.2665, allocations: 0.6916 MB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.2666, allocations: 33.7 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.2668, allocations: 288.2 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.2669, allocations: 43.45 kB / 0.9085 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.2669, allocations: 4 kB / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2671, allocations: 370.8 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.2675, allocations: 127.9 kB / 0.909 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.268, allocations: 169.3 kB / 0.9091 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.2684, allocations: 122.8 kB / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2684, allocations: 0 / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001028/0.2694, allocations: 380.7 kB / 0.9096 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.2695, allocations: 272.2 kB / 0.9099 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2696, allocations: 7.922 kB / 0.9099 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.2696, allocations: 3.938 kB / 0.9099 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.27, allocations: 51.97 kB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.27, allocations: 3.953 kB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.2704, allocations: 51.81 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.2705, allocations: 8 kB / 0.91 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2705, allocations: 6.188 kB / 0.91 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007162/0.2712, allocations: 268 kB / 0.9102 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2713, allocations: 4 kB / 0.9102 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.2713, allocations: 0 / 0.9102 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2716, allocations: 43.97 kB / 0.9103 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.2716, allocations: 3.938 kB / 0.9103 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.272, allocations: 47.88 kB / 0.9103 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.272, allocations: 12 kB / 0.9103 GB, free: 53.95 MB / 0.6042 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.0003501/0.2724, allocations: 289 kB / 0.9106 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.2725, allocations: 59.25 kB / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.2726, allocations: 61.3 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2726, allocations: 4 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2727, allocations: 0 / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2727, allocations: 4.047 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.2732, allocations: 445.1 kB / 0.9112 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2732, allocations: 3.953 kB / 0.9112 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.2734, allocations: 27.98 kB / 0.9112 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2734, allocations: 0 / 0.9112 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.2735, allocations: 0 / 0.9112 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2735, allocations: 7.984 kB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2735, allocations: 4 kB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2747, allocations: 380.2 kB / 0.9116 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2748, allocations: 136.3 kB / 0.9117 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.2749, allocations: 8 kB / 0.9117 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.2752, allocations: 36.03 kB / 0.9117 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2754, allocations: 19.97 kB / 0.9118 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.2754, allocations: 15.98 kB / 0.9118 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006974/0.2761, allocations: 455 kB / 0.9122 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2762, allocations: 3.938 kB / 0.9122 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006446/0.2768, allocations: 119.7 kB / 0.9123 GB, free: 51.81 MB / 0.6042 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.001169/0.278, allocations: 423.6 kB / 0.9127 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2793, allocations: 385.8 kB / 0.9131 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2793, allocations: 0 / 0.9131 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.2797, allocations: 100.1 kB / 0.9132 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2803, allocations: 72.98 kB / 0.9133 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.2823, allocations: 1.063 MB / 0.9143 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2827, allocations: 0.8863 MB / 0.9152 GB, free: 49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003297/0.283, allocations: 54.94 kB / 0.9152 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2832, allocations: 35.42 kB / 0.9153 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.203e-06/0.2832, allocations: 0 / 0.9153 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.01367/0.2969, allocations: 4.144 MB / 0.9193 GB, free: 44.81 MB / 0.6042 GB