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.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001472/0.001472, allocations: 177.1 kB / 371.8 MB, free: 10.26 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.936/1.936, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009294/0.0009296, allocations: 99.69 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 16.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8007/1.033, allocations: 145.8 MB / 1.122 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.033, allocations: 93.84 kB / 1.122 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03263/1.066, allocations: 13.98 MB / 1.136 GB, free: 28.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/1.066, allocations: 3.938 kB / 1.136 GB, free: 28.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.61e-05/1.066, allocations: 7.812 kB / 1.136 GB, free: 28.55 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001355/1.067, allocations: 0.878 MB / 1.137 GB, free: 27.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.067, allocations: 11.73 kB / 1.137 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/1.067, allocations: 58.66 kB / 1.137 GB, free: 27.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/1.068, allocations: 66 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/1.068, allocations: 493.9 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/1.068, allocations: 15.34 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/1.068, allocations: 22.38 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/1.069, allocations: 227.5 kB / 1.137 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.069, allocations: 4 kB / 1.137 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.069, allocations: 7.203 kB / 1.137 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.069, allocations: 11.66 kB / 1.137 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/1.069, allocations: 179.7 kB / 1.138 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/1.071, allocations: 0.8815 MB / 1.138 GB, free: 26.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/1.071, allocations: 258 kB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/1.071, allocations: 7.344 kB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/1.071, allocations: 176.1 kB / 1.139 GB, free: 26.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/1.071, allocations: 0 / 1.139 GB, free: 26.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007023/1.072, allocations: 351.2 kB / 1.139 GB, free: 26.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.072, allocations: 80.95 kB / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/1.073, allocations: 0.6386 MB / 1.14 GB, free: 26.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/1.073, allocations: 34.8 kB / 1.14 GB, free: 26.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.073, allocations: 299.8 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/1.073, allocations: 45.77 kB / 1.14 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.073, allocations: 7.531 kB / 1.14 GB, free: 26.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.073, allocations: 378.7 kB / 1.141 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/1.074, allocations: 132.4 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.074, allocations: 187 kB / 1.141 GB, free: 25.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.074, allocations: 137.8 kB / 1.141 GB, free: 25.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.074, allocations: 3.953 kB / 1.141 GB, free: 25.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006112/1.075, allocations: 407 kB / 1.141 GB, free: 25.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/1.075, allocations: 182 kB / 1.142 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.075, allocations: 0 / 1.142 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.075, allocations: 7.781 kB / 1.142 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.075, allocations: 57.95 kB / 1.142 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.075, allocations: 0 / 1.142 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/1.075, allocations: 50.58 kB / 1.142 GB, free: 25.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.075, allocations: 14.27 kB / 1.142 GB, free: 25.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/1.075, allocations: 7.719 kB / 1.142 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000495/1.076, allocations: 281.8 kB / 1.142 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/1.076, allocations: 0 / 1.142 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/1.076, allocations: 0 / 1.142 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/1.076, allocations: 53.88 kB / 1.142 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.076, allocations: 7.672 kB / 1.142 GB, free: 25.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.076, allocations: 45.41 kB / 1.142 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/1.076, allocations: 15.2 kB / 1.142 GB, free: 25.2 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.0003058/1.077, allocations: 297 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/1.077, allocations: 69.78 kB / 1.142 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/1.077, allocations: 283 kB / 1.143 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.077, allocations: 3.875 kB / 1.143 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.077, allocations: 0 / 1.143 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.077, allocations: 3.984 kB / 1.143 GB, free: 24.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/1.078, allocations: 455.3 kB / 1.143 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.078, allocations: 3.812 kB / 1.143 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/1.078, allocations: 30.83 kB / 1.143 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.078, allocations: 7.953 kB / 1.143 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.078, allocations: 11.05 kB / 1.143 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.078, allocations: 3.844 kB / 1.143 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.078, allocations: 0 / 1.143 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/1.079, allocations: 411.4 kB / 1.144 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.079, allocations: 134.8 kB / 1.144 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/1.079, allocations: 19.27 kB / 1.144 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/1.079, allocations: 29.91 kB / 1.144 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/1.079, allocations: 29.38 kB / 1.144 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/1.079, allocations: 11.39 kB / 1.144 GB, free: 24.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004501/1.08, allocations: 479.1 kB / 1.144 GB, free: 24.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.08, allocations: 4 kB / 1.144 GB, free: 24.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00049/1.08, allocations: 153.6 kB / 1.144 GB, free: 24.05 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.00181/1.082, allocations: 1.318 MB / 1.146 GB, free: 23.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007683/1.083, allocations: 404 kB / 1.146 GB, free: 23.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.083, allocations: 3.812 kB / 1.146 GB, free: 23.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/1.083, allocations: 107.3 kB / 1.146 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/1.083, allocations: 87.59 kB / 1.146 GB, free: 23.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.085, allocations: 1.66 MB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/1.086, allocations: 0.9015 MB / 1.149 GB, free: 21.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002321/1.086, allocations: 57.06 kB / 1.149 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.086, allocations: 192 kB / 1.149 GB, free: 21.18 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.086, allocations: 0 / 1.149 GB, free: 21.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/1.112, allocations: 10.96 MB / 1.16 GB, free: 13.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.112, allocations: 234 kB / 1.16 GB, free: 13.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.281, allocations: 0 / 1.16 GB, free: 13.2 MB / 0.698 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)