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.835/1.835, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001587/0.001587, allocations: 189 kB / 377.1 MB, free: 1.531 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.961/1.961, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.001022/0.001022, allocations: 92.94 kB / 0.7509 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.271, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7668/1.038, allocations: 146.8 MB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.038, allocations: 95.19 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05784/1.096, allocations: 13.97 MB / 1.146 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.415e-06/1.096, allocations: 0 / 1.146 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.99e-05/1.096, allocations: 19.98 kB / 1.146 GB, free: 19.68 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.00174/1.098, allocations: 0.8786 MB / 1.146 GB, free: 18.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.098, allocations: 12.02 kB / 1.146 GB, free: 18.81 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.779e-05/1.098, allocations: 55.58 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/1.098, allocations: 67.16 kB / 1.147 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.1, allocations: 494.5 kB / 1.147 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/1.1, allocations: 12.38 kB / 1.147 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/1.1, allocations: 25.5 kB / 1.147 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/1.1, allocations: 223.6 kB / 1.147 GB, free: 18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.1, allocations: 4 kB / 1.147 GB, free: 18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.1, allocations: 11.95 kB / 1.147 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.101, allocations: 4 kB / 1.147 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005929/1.101, allocations: 184.8 kB / 1.147 GB, free: 17.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/1.103, allocations: 0.8875 MB / 1.148 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/1.104, allocations: 250.2 kB / 1.149 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/1.104, allocations: 8.844 kB / 1.149 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/1.105, allocations: 173.1 kB / 1.149 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/1.105, allocations: 0 / 1.149 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.001237/1.106, allocations: 354.8 kB / 1.149 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.106, allocations: 81.67 kB / 1.149 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.107, allocations: 0.6382 MB / 1.15 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/1.107, allocations: 33.7 kB / 1.15 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/1.107, allocations: 302.4 kB / 1.15 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/1.108, allocations: 48.72 kB / 1.15 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/1.108, allocations: 4 kB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.108, allocations: 384.4 kB / 1.151 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/1.108, allocations: 138.9 kB / 1.151 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/1.109, allocations: 187 kB / 1.151 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/1.109, allocations: 126.1 kB / 1.151 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.109, allocations: 3.953 kB / 1.151 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001138/1.11, allocations: 407.4 kB / 1.151 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/1.11, allocations: 182.8 kB / 1.152 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.11, allocations: 0.6562 kB / 1.152 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.11, allocations: 4 kB / 1.152 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.111, allocations: 57.97 kB / 1.152 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.111, allocations: 0 / 1.152 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/1.111, allocations: 49.92 kB / 1.152 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/1.111, allocations: 18.3 kB / 1.152 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.111, allocations: 6.5 kB / 1.152 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007839/1.112, allocations: 286.8 kB / 1.152 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.112, allocations: 4 kB / 1.152 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/1.112, allocations: 0.7969 kB / 1.152 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.113, allocations: 47.73 kB / 1.152 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.113, allocations: 0.6562 kB / 1.152 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/1.113, allocations: 52.14 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/1.113, allocations: 13.59 kB / 1.152 GB, free: 13.57 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 () * 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.0004151/1.113, allocations: 288.9 kB / 1.152 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/1.114, allocations: 68.03 kB / 1.152 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/1.114, allocations: 294 kB / 1.153 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.114, allocations: 0 / 1.153 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.114, allocations: 4.797 kB / 1.153 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.114, allocations: 0.5625 kB / 1.153 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/1.115, allocations: 453.1 kB / 1.153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.115, allocations: 0 / 1.153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/1.115, allocations: 35.3 kB / 1.153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.115, allocations: 3.953 kB / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/1.116, allocations: 2.344 kB / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.116, allocations: 5.359 kB / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.116, allocations: 0 / 1.153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.117, allocations: 421.3 kB / 1.154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/1.117, allocations: 135.1 kB / 1.154 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/1.117, allocations: 9.312 kB / 1.154 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/1.117, allocations: 45.42 kB / 1.154 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.117, allocations: 22.92 kB / 1.154 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.117, allocations: 10.48 kB / 1.154 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008565/1.118, allocations: 478.3 kB / 1.154 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.8e-07/1.118, allocations: 0 / 1.154 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009259/1.119, allocations: 155.6 kB / 1.154 GB, free: 11.39 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) * 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.002786/1.122, allocations: 1.317 MB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.123, allocations: 408.1 kB / 1.156 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.123, allocations: 0 / 1.156 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/1.124, allocations: 109.8 kB / 1.156 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/1.125, allocations: 90.86 kB / 1.156 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.128, allocations: 1.652 MB / 1.158 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/1.128, allocations: 0.8989 MB / 1.159 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004072/1.129, allocations: 64.94 kB / 1.159 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.129, allocations: 191 kB / 1.159 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/1.129, allocations: 0 / 1.159 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/1.166, allocations: 10.95 MB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/1.166, allocations: 233.2 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.468, allocations: 0 / 1.17 GB, free: 12.72 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)