Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 252 MB / 267.6 MB, free: 10.97 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.001035/0.001035, allocations: 192.8 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007577/0.0007575, allocations: 89.59 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 11.47 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002298/0.1773, allocations: 2.207 MB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1789, allocations: 1.292 MB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.179, allocations: 4 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.1795, allocations: 215 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1798, allocations: 131.4 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1801, allocations: 135.8 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1804, allocations: 390.8 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1806, allocations: 94.45 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1807, allocations: 135.3 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1809, allocations: 159.2 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1809, allocations: 8 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.181, allocations: 35.92 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.1811, allocations: 119.5 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.1812, allocations: 105.4 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1815, allocations: 487.1 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1815, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1815, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1815, allocations: 3.938 kB / 0.9062 GB, free: 58.39 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.001036/0.1826, allocations: 0.8092 MB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1826, allocations: 8.031 kB / 0.907 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.1827, allocations: 71.11 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.1831, allocations: 431.6 kB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1832, allocations: 19.94 kB / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1832, allocations: 27.98 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1836, allocations: 217.5 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1836, allocations: 0 / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1837, allocations: 11.94 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1837, allocations: 4 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.184, allocations: 175.9 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1852, allocations: 0.8777 MB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.1858, allocations: 250.7 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.186, allocations: 94.27 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.186, allocations: 15.97 kB / 0.9091 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.1863, allocations: 158 kB / 0.9092 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1864, allocations: 0 / 0.9092 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006751/0.187, allocations: 338.7 kB / 0.9096 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1871, allocations: 81.11 kB / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.1877, allocations: 0.6838 MB / 0.9103 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1877, allocations: 37.7 kB / 0.9103 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1879, allocations: 284.2 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1879, allocations: 47.39 kB / 0.9107 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.1879, allocations: 4 kB / 0.9107 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.188, allocations: 374.8 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.1882, allocations: 123.9 kB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1885, allocations: 173.3 kB / 0.9113 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1887, allocations: 124.2 kB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1887, allocations: 0 / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005493/0.1893, allocations: 379.5 kB / 0.9118 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.1893, allocations: 102.7 kB / 0.9119 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1893, allocations: 15.97 kB / 0.9119 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1894, allocations: 0 / 0.9119 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.1896, allocations: 52 kB / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1896, allocations: 7.875 kB / 0.912 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1898, allocations: 47.81 kB / 0.912 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1899, allocations: 12 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.1899, allocations: 8 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004019/0.1903, allocations: 252 kB / 0.9123 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.1903, allocations: 4 kB / 0.9123 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.1903, allocations: 0 / 0.9123 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1905, allocations: 51.92 kB / 0.9123 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.1905, allocations: 8 kB / 0.9123 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1907, allocations: 47.75 kB / 0.9124 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1908, allocations: 8 kB / 0.9124 GB, free: 51.77 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.000203/0.191, allocations: 293.1 kB / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.191, allocations: 63.19 kB / 0.9127 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.1911, allocations: 57.3 kB / 0.9128 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1911, allocations: 3.953 kB / 0.9128 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1911, allocations: 0 / 0.9128 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1912, allocations: 0 / 0.9128 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1914, allocations: 437.2 kB / 0.9132 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1915, allocations: 0 / 0.9132 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1916, allocations: 31.98 kB / 0.9132 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1916, allocations: 4 kB / 0.9132 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1916, allocations: 0 / 0.9132 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1916, allocations: 7.984 kB / 0.9132 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1916, allocations: 3.953 kB / 0.9132 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.1923, allocations: 382.6 kB / 0.9136 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.1924, allocations: 136.4 kB / 0.9137 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.1924, allocations: 8.062 kB / 0.9137 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1926, allocations: 31.97 kB / 0.9138 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.1927, allocations: 23.91 kB / 0.9138 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1927, allocations: 15.94 kB / 0.9138 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003722/0.1931, allocations: 459 kB / 0.9142 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1931, allocations: 0 / 0.9142 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003713/0.1935, allocations: 119.8 kB / 0.9144 GB, free: 49.64 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.0007903/0.1943, allocations: 435.9 kB / 0.9148 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.195, allocations: 383.7 kB / 0.9151 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.195, allocations: 0 / 0.9151 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1952, allocations: 96.2 kB / 0.9152 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1956, allocations: 76.22 kB / 0.9153 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1968, allocations: 1.104 MB / 0.9164 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.197, allocations: 0.8735 MB / 0.9172 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.1971, allocations: 35.42 kB / 0.9173 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1972, allocations: 0 / 0.9173 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.006764/0.2039, allocations: 6.123 MB / 0.9233 GB, free: 40.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)