Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 175.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008813/0.0008812, allocations: 95.92 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 15.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.4883, allocations: 138.9 MB / 1.035 GB, free: 6.406 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.4888, allocations: 91.95 kB / 1.035 GB, free: 6.316 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.06027/0.549, allocations: 13.46 MB / 1.048 GB, free: 8.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5491, allocations: 0 / 1.048 GB, free: 8.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.019e-05/0.5492, allocations: 12 kB / 1.048 GB, free: 8.727 MB / 0.698 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.002086/0.5513, allocations: 0.8292 MB / 1.049 GB, free: 7.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5513, allocations: 8.031 kB / 1.049 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.5516, allocations: 68.09 kB / 1.049 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5528, allocations: 465 kB / 1.05 GB, free: 7.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.5528, allocations: 20.38 kB / 1.05 GB, free: 7.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.5529, allocations: 20.38 kB / 1.05 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.5537, allocations: 218.1 kB / 1.05 GB, free: 7.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5537, allocations: 3.938 kB / 1.05 GB, free: 7.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.5538, allocations: 8 kB / 1.05 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5538, allocations: 4 kB / 1.05 GB, free: 7.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.5545, allocations: 179.8 kB / 1.05 GB, free: 6.828 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.5568, allocations: 0.8592 MB / 1.051 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.558, allocations: 250.7 kB / 1.051 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.5584, allocations: 92.77 kB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.5584, allocations: 3.984 kB / 1.051 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.559, allocations: 177 kB / 1.052 GB, free: 5.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.926e-06/0.559, allocations: 0 / 1.052 GB, free: 5.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001404/0.5605, allocations: 337.7 kB / 1.052 GB, free: 5.039 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.5606, allocations: 77.11 kB / 1.052 GB, free: 4.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.562, allocations: 0.6916 MB / 1.053 GB, free: 4.242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/0.5622, allocations: 37.7 kB / 1.053 GB, free: 4.199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.5625, allocations: 288.3 kB / 1.053 GB, free: 3.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.5626, allocations: 51.34 kB / 1.053 GB, free: 3.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.5627, allocations: 4 kB / 1.053 GB, free: 3.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.5629, allocations: 370.7 kB / 1.053 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.5635, allocations: 139.9 kB / 1.053 GB, free: 3.348 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.564, allocations: 180.5 kB / 1.054 GB, free: 3.156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.5646, allocations: 141.1 kB / 1.054 GB, free: 3.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5646, allocations: 0 / 1.054 GB, free: 3.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001316/0.5659, allocations: 392.3 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.566, allocations: 103.7 kB / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.566, allocations: 0 / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5661, allocations: 3.938 kB / 1.054 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.5665, allocations: 55.91 kB / 1.054 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5665, allocations: 0 / 1.054 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.5671, allocations: 43.88 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5672, allocations: 23.98 kB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5672, allocations: 8 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009438/0.5681, allocations: 271.9 kB / 1.055 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5682, allocations: 3.938 kB / 1.055 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.527e-06/0.5682, allocations: 4 kB / 1.055 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.5685, allocations: 43.97 kB / 1.055 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5685, allocations: 8.031 kB / 1.055 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.569, allocations: 39.81 kB / 1.055 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.5691, allocations: 16 kB / 1.055 GB, free: 2.012 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * 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.0005752/0.5696, allocations: 296.9 kB / 1.055 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5698, allocations: 59.25 kB / 1.055 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5709, allocations: 280.5 kB / 1.055 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5709, allocations: 4 kB / 1.055 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5709, allocations: 7.875 kB / 1.055 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.571, allocations: 4.031 kB / 1.055 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.5717, allocations: 449.2 kB / 1.056 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5717, allocations: 0 / 1.056 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.572, allocations: 27.98 kB / 1.056 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5721, allocations: 0 / 1.056 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.5721, allocations: 7.984 kB / 1.056 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5721, allocations: 4 kB / 1.056 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5721, allocations: 0 / 1.056 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.5736, allocations: 411.4 kB / 1.056 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.5738, allocations: 132.4 kB / 1.056 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5739, allocations: 11.98 kB / 1.056 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.5743, allocations: 32.05 kB / 1.056 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5745, allocations: 27.95 kB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.5745, allocations: 7.984 kB / 1.056 GB, free: 180 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.6139/1.188, allocations: 459.9 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.022e-06/1.188, allocations: 0 / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000884/1.189, allocations: 136.7 kB / 1.057 GB, free: 147.7 MB / 0.698 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.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.001358/1.191, allocations: 458.5 kB / 1.057 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001462/1.192, allocations: 402.2 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/1.192, allocations: 0 / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/1.193, allocations: 105.5 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/1.193, allocations: 82 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/1.196, allocations: 1.083 MB / 1.059 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/1.196, allocations: 0.8718 MB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003691/1.196, allocations: 55.55 kB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.197, allocations: 35.47 kB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.197, allocations: 3.938 kB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01685/1.214, allocations: 4.695 MB / 1.065 GB, free: 146.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)