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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001041/0.001041, allocations: 182.4 kB / 325.9 MB, free: 2.652 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.517/1.517, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007745/0.0007746, allocations: 84 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 14.69 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 105.4 MB / 0.8962 GB, free: 68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002365/0.176, allocations: 2.316 MB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1776, allocations: 1.374 MB / 0.8998 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1778, allocations: 11.94 kB / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1783, allocations: 215.1 kB / 0.9 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1786, allocations: 147.3 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1789, allocations: 175.8 kB / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1792, allocations: 410.7 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1794, allocations: 128 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1795, allocations: 127.3 kB / 0.901 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1797, allocations: 167.1 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1797, allocations: 12 kB / 0.9011 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1798, allocations: 43.97 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.1799, allocations: 119.5 kB / 0.9013 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.18, allocations: 202.4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1804, allocations: 0.5797 MB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1804, allocations: 0 / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1804, allocations: 0 / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.1804, allocations: 0 / 0.9021 GB, free: 61.96 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.0009075/0.1813, allocations: 0.7938 MB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1814, allocations: 12.03 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.1814, allocations: 50.73 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.1815, allocations: 68.09 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1819, allocations: 468.3 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1819, allocations: 20.31 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.1819, allocations: 23.94 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1823, allocations: 221.5 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1823, allocations: 0 / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1823, allocations: 4 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1823, allocations: 4 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.1827, allocations: 179.9 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.1836, allocations: 0.8892 MB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.1842, allocations: 257 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1844, allocations: 88.81 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1844, allocations: 8 kB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.1847, allocations: 164.9 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.1847, allocations: 3.938 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006198/0.1853, allocations: 330.3 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1854, allocations: 85.11 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.1859, allocations: 0.6877 MB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1859, allocations: 33.7 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1861, allocations: 292.2 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1861, allocations: 47.38 kB / 0.9066 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.1861, allocations: 33.7 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.1862, allocations: 378.8 kB / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1864, allocations: 127.9 kB / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1866, allocations: 173 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.187, allocations: 221.3 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.187, allocations: 0 / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004981/0.1875, allocations: 368.8 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.1875, allocations: 118.9 kB / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1875, allocations: 0 / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1876, allocations: 0 / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1877, allocations: 55.84 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1878, allocations: 0 / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.188, allocations: 51.81 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.188, allocations: 12 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-06/0.188, allocations: 6.5 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003656/0.1884, allocations: 263.8 kB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.1884, allocations: 0 / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.1884, allocations: 4 kB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1885, allocations: 43.91 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.1886, allocations: 0 / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1887, allocations: 47.75 kB / 0.9085 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1888, allocations: 12.03 kB / 0.9085 GB, free: 55.12 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.1889, allocations: 297.7 kB / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.189, allocations: 59.28 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.1891, allocations: 57.3 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1891, allocations: 4 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1891, allocations: 3.938 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1891, allocations: 0 / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1893, allocations: 437.2 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1894, allocations: 4 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1895, allocations: 31.92 kB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1895, allocations: 3.938 kB / 0.9093 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1895, allocations: 7.984 kB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1895, allocations: 0 / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1895, allocations: 3.938 kB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.1901, allocations: 386.2 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.1902, allocations: 140.4 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.1902, allocations: 4 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1904, allocations: 27.97 kB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.1905, allocations: 31.97 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1905, allocations: 11.94 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003364/0.1908, allocations: 463 kB / 0.9103 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1908, allocations: 0 / 0.9103 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003485/0.1912, allocations: 119.7 kB / 0.9105 GB, free: 52.97 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.1926, allocations: 1.227 MB / 0.9117 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.1932, allocations: 399.6 kB / 0.912 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1933, allocations: 0 / 0.912 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1934, allocations: 100.1 kB / 0.9121 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1939, allocations: 78.89 kB / 0.9122 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.198, allocations: 4.523 MB / 0.9166 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1982, allocations: 0.8781 MB / 0.9175 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.1984, allocations: 54.92 kB / 0.9175 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1986, allocations: 179.4 kB / 0.9177 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.1986, allocations: 0 / 0.9177 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2492/0.4478, allocations: 9.472 MB / 0.927 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.448, allocations: 261.8 kB / 0.9272 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.502, allocations: 0 / 0.9272 GB, free: 35.95 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)