Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 164.9 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 102.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.107e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6277, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.8189, allocations: 145.1 MB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.8192, allocations: 88.94 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03611/0.8553, allocations: 13.83 MB / 1.12 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8554, allocations: 0 / 1.12 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.928e-05/0.8555, allocations: 12 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001223/0.8567, allocations: 0.7482 MB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8567, allocations: 12.02 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.8569, allocations: 71.11 kB / 1.121 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.8578, allocations: 480 kB / 1.121 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.8578, allocations: 8 kB / 1.121 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.8579, allocations: 12 kB / 1.121 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003304/0.8582, allocations: 134.4 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.8585, allocations: 168 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.8586, allocations: 4 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.8586, allocations: 3.953 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.8586, allocations: 4 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.86, allocations: 0.8317 MB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.8603, allocations: 175.9 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.8604, allocations: 66.14 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.8605, allocations: 4 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.8607, allocations: 141.1 kB / 1.123 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.8607, allocations: 0 / 1.123 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000389/0.8611, allocations: 207.2 kB / 1.123 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.8612, allocations: 85.11 kB / 1.123 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.8619, allocations: 0.5816 MB / 1.123 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.8619, allocations: 33.7 kB / 1.123 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.8622, allocations: 288.4 kB / 1.124 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.8622, allocations: 51.3 kB / 1.124 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.8623, allocations: 0 / 1.124 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8624, allocations: 374.8 kB / 1.124 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.8626, allocations: 107.8 kB / 1.124 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.8628, allocations: 145.8 kB / 1.124 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.8631, allocations: 115.2 kB / 1.124 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8631, allocations: 0 / 1.124 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005753/0.8636, allocations: 338.8 kB / 1.125 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.8638, allocations: 182.8 kB / 1.125 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8638, allocations: 0 / 1.125 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8638, allocations: 4 kB / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.8641, allocations: 59.89 kB / 1.125 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8641, allocations: 0 / 1.125 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.8643, allocations: 47.81 kB / 1.125 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.8644, allocations: 19.73 kB / 1.125 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.8644, allocations: 4 kB / 1.125 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000435/0.8649, allocations: 244 kB / 1.125 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.8649, allocations: 0 / 1.125 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.8649, allocations: 0 / 1.125 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8651, allocations: 52 kB / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.8651, allocations: 0 / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.8653, allocations: 39.81 kB / 1.125 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.8654, allocations: 15.98 kB / 1.125 GB, free: 6.73 MB / 0.7292 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 () * 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.0001176/0.8655, allocations: 120.7 kB / 1.125 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000293/0.8658, allocations: 196.9 kB / 1.126 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.8658, allocations: 59.2 kB / 1.126 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.8662, allocations: 224 kB / 1.126 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.8662, allocations: 0 / 1.126 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8663, allocations: 0 / 1.126 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8663, allocations: 0 / 1.126 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.8667, allocations: 405.8 kB / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8667, allocations: 0 / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.8669, allocations: 43.91 kB / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.8669, allocations: 3.953 kB / 1.126 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.8669, allocations: 4 kB / 1.126 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.8669, allocations: 0 / 1.126 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8669, allocations: 5.734 kB / 1.126 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.8674, allocations: 314.8 kB / 1.127 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8675, allocations: 136.4 kB / 1.127 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.8676, allocations: 12.02 kB / 1.127 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.8678, allocations: 31.97 kB / 1.127 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.8678, allocations: 27.95 kB / 1.127 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.8679, allocations: 4 kB / 1.127 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004907/0.8684, allocations: 435.1 kB / 1.127 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8684, allocations: 1.219 kB / 1.127 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005188/0.8689, allocations: 147.7 kB / 1.127 GB, free: 4.52 MB / 0.7292 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) * 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.001532/0.8704, allocations: 1.153 MB / 1.129 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.871, allocations: 335.9 kB / 1.129 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.871, allocations: 7.922 kB / 1.129 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.8711, allocations: 73.88 kB / 1.129 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.8716, allocations: 81.86 kB / 1.129 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.8731, allocations: 0.838 MB / 1.13 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.8736, allocations: 0.8978 MB / 1.131 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004643/0.8741, allocations: 149.6 kB / 1.131 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.8744, allocations: 193.5 kB / 1.131 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.8744, allocations: 0 / 1.131 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.9055, allocations: 11.1 MB / 1.142 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.9057, allocations: 182.2 kB / 1.142 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.063, allocations: 32 / 1.142 GB, free: 5.77 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)