Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001065/0.001065, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.602/1.602, allocations: 205.3 MB / 0.626 GB, free: 7.125 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.0008908/0.0008909, allocations: 93.05 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.65e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6453, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.8317, allocations: 146.1 MB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.832, allocations: 87.95 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03565/0.8677, allocations: 13.82 MB / 1.13 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8677, allocations: 0 / 1.13 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.005e-05/0.8678, allocations: 23.94 kB / 1.13 GB, free: 6.07 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.00105/0.8688, allocations: 0.7326 MB / 1.13 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8689, allocations: 12.03 kB / 1.13 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.869, allocations: 75.09 kB / 1.13 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.8698, allocations: 483.9 kB / 1.131 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.8698, allocations: 4 kB / 1.131 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.8699, allocations: 16 kB / 1.131 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002545/0.8701, allocations: 130.2 kB / 1.131 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.8704, allocations: 172 kB / 1.131 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.8705, allocations: 3.938 kB / 1.131 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.8705, allocations: 3.953 kB / 1.131 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.8705, allocations: 8 kB / 1.131 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.8719, allocations: 0.8278 MB / 1.132 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.8721, allocations: 174.8 kB / 1.132 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.8722, allocations: 70.89 kB / 1.132 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.8723, allocations: 0 / 1.132 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.8725, allocations: 141.1 kB / 1.132 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.8725, allocations: 0 / 1.132 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003639/0.8729, allocations: 205.1 kB / 1.133 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8729, allocations: 77.11 kB / 1.133 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.8737, allocations: 0.5894 MB / 1.133 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.8737, allocations: 29.7 kB / 1.133 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.8739, allocations: 288.4 kB / 1.134 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.874, allocations: 51.3 kB / 1.134 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.874, allocations: 4 kB / 1.134 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.8742, allocations: 374.7 kB / 1.134 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.8743, allocations: 103.1 kB / 1.134 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.8745, allocations: 148.5 kB / 1.134 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.8748, allocations: 110.8 kB / 1.134 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8748, allocations: 4 kB / 1.134 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005491/0.8754, allocations: 342.8 kB / 1.135 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.8755, allocations: 174 kB / 1.135 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8755, allocations: 0 / 1.135 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8755, allocations: 4 kB / 1.135 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.8758, allocations: 63.98 kB / 1.135 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.8758, allocations: 7.062 kB / 1.135 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.8761, allocations: 43.81 kB / 1.135 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.8761, allocations: 12 kB / 1.135 GB, free: 428 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.8761, allocations: 7.984 kB / 1.135 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004228/0.8766, allocations: 235.8 kB / 1.135 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.8766, allocations: 4 kB / 1.135 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-06/0.8766, allocations: 0 / 1.135 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.8768, allocations: 51.91 kB / 1.135 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.8768, allocations: 0 / 1.135 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.877, allocations: 43.84 kB / 1.135 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.8771, allocations: 15.98 kB / 1.135 GB, free: 68 kB / 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.0001168/0.8772, allocations: 116.7 kB / 1.135 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002814/0.8775, allocations: 190.3 kB / 1.136 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.8775, allocations: 63.2 kB / 1.136 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.8779, allocations: 220.3 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8779, allocations: 4 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8779, allocations: 3.984 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.878, allocations: 0 / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.8784, allocations: 409.8 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.8784, allocations: 0 / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.8785, allocations: 31.97 kB / 1.136 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.8785, allocations: 3.953 kB / 1.136 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.8786, allocations: 12 kB / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8786, allocations: 0 / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8786, allocations: 6 kB / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.879, allocations: 317.2 kB / 1.137 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.8792, allocations: 138.9 kB / 1.137 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.8793, allocations: 7.953 kB / 1.137 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.8795, allocations: 36.03 kB / 1.137 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.8795, allocations: 27.95 kB / 1.137 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.8796, allocations: 4 kB / 1.137 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004665/0.88, allocations: 435.1 kB / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.88, allocations: 0 / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004613/0.8805, allocations: 135.7 kB / 1.137 GB, free: 13.86 MB / 0.7448 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.00155/0.8821, allocations: 1.159 MB / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.8826, allocations: 339.8 kB / 1.139 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8826, allocations: 1.5 kB / 1.139 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.8828, allocations: 79.92 kB / 1.139 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.8833, allocations: 82.03 kB / 1.139 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.8847, allocations: 0.8264 MB / 1.14 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.8852, allocations: 0.8953 MB / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004286/0.8856, allocations: 156 kB / 1.141 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.8859, allocations: 187.4 kB / 1.141 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.8859, allocations: 2.719 kB / 1.141 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.9296, allocations: 11.11 MB / 1.152 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003195/0.93, allocations: 167.5 kB / 1.152 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.346, allocations: 0 / 1.152 GB, free: 15.1 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)