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.622/1.622, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001016/0.001016, allocations: 184.5 kB / 371.6 MB, free: 3.434 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.475/1.475, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009348/0.000935, allocations: 89.22 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.648e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2458, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7888/1.035, allocations: 146.7 MB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.035, allocations: 85.91 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03245/1.067, allocations: 13.95 MB / 1.137 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/1.067, allocations: 0 / 1.137 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.233e-05/1.068, allocations: 12 kB / 1.137 GB, free: 31 MB / 0.7448 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.001489/1.069, allocations: 0.7465 MB / 1.138 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/1.069, allocations: 8.922 kB / 1.138 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.069, allocations: 52.25 kB / 1.138 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/1.069, allocations: 70.42 kB / 1.138 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/1.07, allocations: 485.5 kB / 1.138 GB, free: 29.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/1.07, allocations: 15.12 kB / 1.138 GB, free: 29.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/1.071, allocations: 26.91 kB / 1.138 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/1.071, allocations: 199.6 kB / 1.138 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.071, allocations: 0 / 1.138 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.071, allocations: 12.48 kB / 1.138 GB, free: 29.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.071, allocations: 4 kB / 1.138 GB, free: 29.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.071, allocations: 141.7 kB / 1.139 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.073, allocations: 0.8865 MB / 1.139 GB, free: 28.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/1.073, allocations: 182.5 kB / 1.14 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/1.073, allocations: 61.73 kB / 1.14 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.073, allocations: 4.406 kB / 1.14 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/1.074, allocations: 148 kB / 1.14 GB, free: 28.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/1.074, allocations: 4 kB / 1.14 GB, free: 28.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004208/1.074, allocations: 211.9 kB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.074, allocations: 81.86 kB / 1.14 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/1.075, allocations: 0.6297 MB / 1.141 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/1.075, allocations: 34.05 kB / 1.141 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/1.075, allocations: 301.1 kB / 1.141 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/1.075, allocations: 46.89 kB / 1.141 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/1.075, allocations: 3.188 kB / 1.141 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.075, allocations: 378.2 kB / 1.141 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/1.076, allocations: 111.2 kB / 1.142 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/1.076, allocations: 156.2 kB / 1.142 GB, free: 27.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.076, allocations: 113.5 kB / 1.142 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.076, allocations: 0.7031 kB / 1.142 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004778/1.076, allocations: 340.1 kB / 1.142 GB, free: 27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/1.076, allocations: 182 kB / 1.142 GB, free: 26.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.077, allocations: 4 kB / 1.142 GB, free: 26.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.077, allocations: 0 / 1.142 GB, free: 26.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/1.077, allocations: 55.72 kB / 1.142 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.077, allocations: 3.938 kB / 1.142 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/1.077, allocations: 63.67 kB / 1.142 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/1.077, allocations: 8.75 kB / 1.142 GB, free: 26.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/1.077, allocations: 5.328 kB / 1.142 GB, free: 26.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003687/1.078, allocations: 248.1 kB / 1.143 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/1.078, allocations: 4.031 kB / 1.143 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/1.078, allocations: 0 / 1.143 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.078, allocations: 57.19 kB / 1.143 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.078, allocations: 4 kB / 1.143 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/1.078, allocations: 43.12 kB / 1.143 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.078, allocations: 13.41 kB / 1.143 GB, free: 26.47 MB / 0.7448 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 8.781e-05/1.078, allocations: 120.7 kB / 1.143 GB, free: 26.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/1.078, allocations: 63.95 kB / 1.143 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/1.079, allocations: 236.1 kB / 1.143 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/1.079, allocations: 0 / 1.143 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.079, allocations: 0.7031 kB / 1.143 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.079, allocations: 4.578 kB / 1.143 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/1.079, allocations: 452.4 kB / 1.144 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.079, allocations: 0 / 1.144 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/1.079, allocations: 25.86 kB / 1.144 GB, free: 25.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.079, allocations: 9.453 kB / 1.144 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.079, allocations: 4.656 kB / 1.144 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.079, allocations: 0 / 1.144 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.079, allocations: 7.938 kB / 1.144 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/1.08, allocations: 338.8 kB / 1.144 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.08, allocations: 143.6 kB / 1.144 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/1.08, allocations: 4.594 kB / 1.144 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.08, allocations: 35.03 kB / 1.144 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/1.08, allocations: 26.88 kB / 1.144 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.08, allocations: 18.17 kB / 1.144 GB, free: 25.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004986/1.081, allocations: 474.5 kB / 1.145 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/1.081, allocations: 0 / 1.145 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005121/1.081, allocations: 145.7 kB / 1.145 GB, free: 24.91 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.001455/1.083, allocations: 1.179 MB / 1.146 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.083, allocations: 371.1 kB / 1.146 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.083, allocations: 0 / 1.146 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.083, allocations: 78.91 kB / 1.146 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/1.084, allocations: 91.97 kB / 1.147 GB, free: 23.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/1.085, allocations: 0.8602 MB / 1.147 GB, free: 22.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/1.086, allocations: 0.8921 MB / 1.148 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004898/1.086, allocations: 158.1 kB / 1.148 GB, free: 22.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.087, allocations: 190.2 kB / 1.149 GB, free: 21.98 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/1.087, allocations: 0 / 1.149 GB, free: 21.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/1.119, allocations: 12.51 MB / 1.161 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/1.119, allocations: 199.8 kB / 1.161 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.423, allocations: 3.938 kB / 1.161 GB, free: 14.14 MB / 0.7448 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)