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.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001548/0.001548, allocations: 182.8 kB / 370.8 MB, free: 10.86 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.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001169/0.001168, allocations: 94.78 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 16.84 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9865/1.2, allocations: 145.7 MB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.201, allocations: 95.31 kB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06819/1.269, allocations: 13.98 MB / 1.134 GB, free: 28.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/1.269, allocations: 0 / 1.134 GB, free: 28.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.19e-05/1.269, allocations: 7.688 kB / 1.134 GB, free: 28.73 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.002591/1.272, allocations: 0.8754 MB / 1.135 GB, free: 28.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.272, allocations: 15.67 kB / 1.135 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/1.272, allocations: 52.7 kB / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/1.272, allocations: 70.02 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.274, allocations: 485 kB / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/1.274, allocations: 15.16 kB / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/1.274, allocations: 26.36 kB / 1.136 GB, free: 27.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/1.275, allocations: 220.5 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.275, allocations: 3.953 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/1.275, allocations: 14.31 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.275, allocations: 3.906 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/1.276, allocations: 188.8 kB / 1.136 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/1.279, allocations: 0.8805 MB / 1.137 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.281, allocations: 252.4 kB / 1.137 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/1.281, allocations: 7.906 kB / 1.137 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006712/1.282, allocations: 173.7 kB / 1.137 GB, free: 26.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 4.258e-06/1.282, allocations: 3.984 kB / 1.137 GB, free: 26.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001682/1.283, allocations: 350.7 kB / 1.138 GB, free: 26.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.283, allocations: 84.95 kB / 1.138 GB, free: 26.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.285, allocations: 0.6467 MB / 1.139 GB, free: 26.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.285, allocations: 32.98 kB / 1.139 GB, free: 26.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/1.285, allocations: 291.2 kB / 1.139 GB, free: 26.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.286, allocations: 57.11 kB / 1.139 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/1.286, allocations: 3.062 kB / 1.139 GB, free: 26.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002454/1.286, allocations: 381.5 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/1.287, allocations: 138.5 kB / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/1.287, allocations: 180.5 kB / 1.14 GB, free: 25.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/1.288, allocations: 141.5 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.288, allocations: 0 / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001527/1.289, allocations: 400.4 kB / 1.14 GB, free: 25.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.29, allocations: 184 kB / 1.14 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.29, allocations: 0 / 1.14 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.29, allocations: 3.984 kB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/1.29, allocations: 59.34 kB / 1.14 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.29, allocations: 3.953 kB / 1.14 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/1.291, allocations: 47.91 kB / 1.14 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/1.291, allocations: 11.48 kB / 1.14 GB, free: 25.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.291, allocations: 5.281 kB / 1.14 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/1.292, allocations: 285 kB / 1.141 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.292, allocations: 0 / 1.141 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.292, allocations: 3.844 kB / 1.141 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/1.293, allocations: 54.2 kB / 1.141 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.293, allocations: 0 / 1.141 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/1.293, allocations: 53.09 kB / 1.141 GB, free: 25.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/1.293, allocations: 7.688 kB / 1.141 GB, free: 25.38 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.0006445/1.294, allocations: 302 kB / 1.141 GB, free: 25.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/1.294, allocations: 58.12 kB / 1.141 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/1.295, allocations: 288.6 kB / 1.141 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.295, allocations: 7.891 kB / 1.141 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.295, allocations: 4 kB / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.296, allocations: 0 / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/1.296, allocations: 452.1 kB / 1.142 GB, free: 24.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.296, allocations: 7.953 kB / 1.142 GB, free: 24.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/1.297, allocations: 34.11 kB / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.297, allocations: 0 / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.297, allocations: 7.766 kB / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.297, allocations: 0 / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.297, allocations: 0 / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.299, allocations: 419.2 kB / 1.142 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/1.299, allocations: 141.8 kB / 1.142 GB, free: 24.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.299, allocations: 7.406 kB / 1.142 GB, free: 24.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/1.3, allocations: 41.41 kB / 1.142 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.3, allocations: 31.23 kB / 1.142 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/1.3, allocations: 7.875 kB / 1.142 GB, free: 24.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001525/1.302, allocations: 480 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.233e-06/1.302, allocations: 0 / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001332/1.303, allocations: 153.6 kB / 1.143 GB, free: 24.23 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.004558/1.308, allocations: 1.317 MB / 1.144 GB, free: 23.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.31, allocations: 406.5 kB / 1.145 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.31, allocations: 4.062 kB / 1.145 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/1.311, allocations: 103.4 kB / 1.145 GB, free: 23.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/1.312, allocations: 88.19 kB / 1.145 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/1.317, allocations: 1.654 MB / 1.147 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/1.318, allocations: 0.8969 MB / 1.147 GB, free: 21.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006056/1.318, allocations: 65.73 kB / 1.148 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/1.319, allocations: 190.2 kB / 1.148 GB, free: 21.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/1.319, allocations: 0 / 1.148 GB, free: 21.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/1.376, allocations: 10.95 MB / 1.158 GB, free: 14.72 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.376, allocations: 224.1 kB / 1.159 GB, free: 14.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/4.405, allocations: 0 / 1.159 GB, free: 14.48 MB / 0.698 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)