Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.41/2.41, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001379/0.001379, allocations: 180.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.001087/0.001086, allocations: 88.09 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.771e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8543, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/1.099, allocations: 144.9 MB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.099, allocations: 94.22 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05854/1.158, allocations: 13.83 MB / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/1.158, allocations: 0 / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.066e-05/1.158, allocations: 8 kB / 1.119 GB, free: 13.63 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.001488/1.16, allocations: 0.7482 MB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.16, allocations: 8.031 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/1.16, allocations: 73.12 kB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.161, allocations: 479.9 kB / 1.12 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.161, allocations: 8 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/1.161, allocations: 16 kB / 1.12 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004323/1.162, allocations: 132.7 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/1.162, allocations: 176 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.162, allocations: 0 / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/1.162, allocations: 0 / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/1.162, allocations: 4 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/1.164, allocations: 0.8355 MB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/1.165, allocations: 171.9 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/1.165, allocations: 61.03 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/1.165, allocations: 8 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/1.165, allocations: 138.2 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/1.165, allocations: 0 / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005854/1.166, allocations: 210 kB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.166, allocations: 81.09 kB / 1.122 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.167, allocations: 0.5816 MB / 1.122 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/1.167, allocations: 37.69 kB / 1.122 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/1.168, allocations: 295 kB / 1.122 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/1.168, allocations: 47.36 kB / 1.123 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/1.168, allocations: 0 / 1.123 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.168, allocations: 374.8 kB / 1.123 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/1.168, allocations: 104 kB / 1.123 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/1.169, allocations: 153.7 kB / 1.123 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/1.169, allocations: 103.2 kB / 1.123 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.169, allocations: 4 kB / 1.123 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000905/1.17, allocations: 334.8 kB / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.17, allocations: 186 kB / 1.124 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.17, allocations: 4.031 kB / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.17, allocations: 0 / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/1.171, allocations: 59.91 kB / 1.124 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.171, allocations: 4 kB / 1.124 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/1.171, allocations: 51.8 kB / 1.124 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/1.171, allocations: 11.95 kB / 1.124 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.171, allocations: 5.094 kB / 1.124 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007367/1.172, allocations: 240 kB / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/1.172, allocations: 0 / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/1.172, allocations: 4 kB / 1.124 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/1.172, allocations: 47.97 kB / 1.124 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.172, allocations: 8.031 kB / 1.124 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/1.173, allocations: 43.75 kB / 1.124 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/1.173, allocations: 11.5 kB / 1.124 GB, free: 7.617 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.0001483/1.173, allocations: 116.8 kB / 1.124 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004645/1.174, allocations: 210.4 kB / 1.124 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.174, allocations: 59.25 kB / 1.125 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/1.174, allocations: 211 kB / 1.125 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.174, allocations: 5.031 kB / 1.125 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.174, allocations: 0 / 1.125 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.174, allocations: 0 / 1.125 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/1.175, allocations: 413.8 kB / 1.125 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.175, allocations: 0 / 1.125 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/1.175, allocations: 39.88 kB / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/1.175, allocations: 0 / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.175, allocations: 3.984 kB / 1.125 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.175, allocations: 7.938 kB / 1.125 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.175, allocations: 0 / 1.125 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/1.176, allocations: 315.7 kB / 1.125 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/1.176, allocations: 137.9 kB / 1.126 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/1.176, allocations: 8 kB / 1.126 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/1.177, allocations: 32.03 kB / 1.126 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.177, allocations: 27.95 kB / 1.126 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/1.177, allocations: 7.984 kB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007923/1.178, allocations: 427.1 kB / 1.126 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.178, allocations: 0 / 1.126 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007976/1.179, allocations: 147.7 kB / 1.126 GB, free: 5.41 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.002247/1.181, allocations: 1.16 MB / 1.127 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009629/1.182, allocations: 339.8 kB / 1.128 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.182, allocations: 4 kB / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/1.182, allocations: 74.02 kB / 1.128 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/1.183, allocations: 77.67 kB / 1.128 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/1.185, allocations: 0.8334 MB / 1.129 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/1.186, allocations: 0.9002 MB / 1.13 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008394/1.187, allocations: 153.9 kB / 1.13 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.187, allocations: 187.4 kB / 1.13 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/1.187, allocations: 0 / 1.13 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/1.257, allocations: 11.08 MB / 1.141 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/1.258, allocations: 182.5 kB / 1.141 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/4.041, allocations: 0 / 1.141 GB, free: 6.699 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)