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.382/1.382, allocations: 252 MB / 268 MB, free: 10.88 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.001014/0.001015, allocations: 173.2 kB / 327.6 MB, free: 2.082 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.652/1.652, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008243/0.0008243, allocations: 82.36 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 15.66 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1864, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002412/0.1889, allocations: 2.276 MB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1905, allocations: 1.355 MB / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1907, allocations: 7.938 kB / 0.905 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.1912, allocations: 211.1 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1915, allocations: 153.1 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1919, allocations: 179.8 kB / 0.9055 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1922, allocations: 414.7 kB / 0.9059 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1924, allocations: 120 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1925, allocations: 139.2 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1927, allocations: 163.1 kB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1927, allocations: 11.98 kB / 0.9063 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1929, allocations: 32 kB / 0.9064 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.193, allocations: 123.5 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1931, allocations: 228.1 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1934, allocations: 479.1 kB / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1935, allocations: 3.938 kB / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1935, allocations: 0 / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1935, allocations: 0 / 0.9072 GB, free: 57.59 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.0009581/0.1944, allocations: 0.7937 MB / 0.9079 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1945, allocations: 11.97 kB / 0.908 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.1946, allocations: 76.08 kB / 0.908 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.195, allocations: 468.3 kB / 0.9085 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.195, allocations: 16.38 kB / 0.9085 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1951, allocations: 24.12 kB / 0.9085 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.1954, allocations: 213.5 kB / 0.9087 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1955, allocations: 0 / 0.9087 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1955, allocations: 15.98 kB / 0.9087 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1955, allocations: 7.984 kB / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.1958, allocations: 167.9 kB / 0.9089 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.197, allocations: 0.8892 MB / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.1976, allocations: 245.5 kB / 0.91 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1978, allocations: 92.81 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1978, allocations: 8 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.1981, allocations: 169 kB / 0.9103 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1982, allocations: 0 / 0.9103 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006512/0.1988, allocations: 334.1 kB / 0.9106 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1989, allocations: 77.11 kB / 0.9106 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.1995, allocations: 0.6955 MB / 0.9113 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1995, allocations: 33.7 kB / 0.9114 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1996, allocations: 296.2 kB / 0.9116 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1997, allocations: 43.39 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.1997, allocations: 4 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.1998, allocations: 374.8 kB / 0.912 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.2, allocations: 128 kB / 0.9122 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.2003, allocations: 173 kB / 0.9123 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.2006, allocations: 225.3 kB / 0.9125 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2007, allocations: 0 / 0.9125 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005598/0.2012, allocations: 364.8 kB / 0.9129 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.2013, allocations: 114.6 kB / 0.913 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2013, allocations: 3.984 kB / 0.913 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2013, allocations: 3.938 kB / 0.913 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2015, allocations: 56 kB / 0.9131 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2015, allocations: 0 / 0.9131 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.2018, allocations: 47.81 kB / 0.9131 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.2018, allocations: 11.94 kB / 0.9131 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-06/0.2018, allocations: 4 kB / 0.9131 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003994/0.2022, allocations: 268 kB / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.2022, allocations: 0 / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.2023, allocations: 4 kB / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2024, allocations: 40.02 kB / 0.9134 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.2024, allocations: 64 / 0.9134 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2026, allocations: 59.67 kB / 0.9135 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.2027, allocations: 12 kB / 0.9135 GB, free: 50.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.2029, allocations: 289.7 kB / 0.9138 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.2029, allocations: 59.25 kB / 0.9138 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.203, allocations: 61.3 kB / 0.9139 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.203, allocations: 4 kB / 0.9139 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2031, allocations: 3.938 kB / 0.9139 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2031, allocations: 0 / 0.9139 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.2034, allocations: 441.2 kB / 0.9143 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2034, allocations: 3.938 kB / 0.9143 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.2035, allocations: 23.98 kB / 0.9143 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2035, allocations: 0 / 0.9143 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2036, allocations: 8 kB / 0.9143 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2036, allocations: 3.984 kB / 0.9143 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2036, allocations: 3.938 kB / 0.9144 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.2042, allocations: 381.5 kB / 0.9147 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.2043, allocations: 136.4 kB / 0.9148 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2044, allocations: 7.938 kB / 0.9149 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2046, allocations: 36.03 kB / 0.9149 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.2046, allocations: 27.91 kB / 0.9149 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2047, allocations: 4 kB / 0.9149 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003988/0.2051, allocations: 463 kB / 0.9154 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2051, allocations: 0 / 0.9154 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003878/0.2055, allocations: 127.7 kB / 0.9155 GB, free: 48.69 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.0008963/0.2064, allocations: 427.1 kB / 0.9159 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006972/0.2071, allocations: 387.8 kB / 0.9163 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2071, allocations: 0 / 0.9163 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.2073, allocations: 100.1 kB / 0.9164 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.2078, allocations: 89.94 kB / 0.9164 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2091, allocations: 1.163 MB / 0.9176 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2094, allocations: 0.8772 MB / 0.9184 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.2095, allocations: 35.42 kB / 0.9185 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2095, allocations: 0 / 0.9185 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.007288/0.2168, allocations: 6.095 MB / 0.9244 GB, free: 39.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)