Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009932/0.0009935, allocations: 168.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007972/0.0007971, allocations: 100.3 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.041e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1858, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6739/0.8597, allocations: 139.3 MB / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.86, allocations: 92.62 kB / 1.021 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03305/0.8931, allocations: 13.24 MB / 1.034 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8931, allocations: 0 / 1.034 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.36e-05/0.8932, allocations: 11.94 kB / 1.034 GB, free: 2.984 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009888/0.8942, allocations: 0.7184 MB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8942, allocations: 12.03 kB / 1.035 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.8943, allocations: 67.2 kB / 1.035 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.895, allocations: 463 kB / 1.036 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.895, allocations: 4 kB / 1.036 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.895, allocations: 12 kB / 1.036 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002306/0.8953, allocations: 125.3 kB / 1.036 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.8956, allocations: 173.2 kB / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8956, allocations: 0 / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.8956, allocations: 11.94 kB / 1.036 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8956, allocations: 4 kB / 1.036 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.8968, allocations: 0.8028 MB / 1.037 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.8971, allocations: 151.9 kB / 1.037 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.8972, allocations: 69.02 kB / 1.037 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.8972, allocations: 7.938 kB / 1.037 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.8974, allocations: 135.3 kB / 1.037 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.8974, allocations: 0 / 1.037 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003443/0.8978, allocations: 194.5 kB / 1.037 GB, free: 424 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.8978, allocations: 81.11 kB / 1.037 GB, free: 324 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.8985, allocations: 0.5753 MB / 1.038 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.8985, allocations: 25.7 kB / 1.038 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.8987, allocations: 281.8 kB / 1.038 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.8988, allocations: 48.8 kB / 1.038 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.8988, allocations: 0 / 1.038 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8989, allocations: 370.1 kB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.8991, allocations: 105.8 kB / 1.039 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.8993, allocations: 152 kB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.8994, allocations: 95.09 kB / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8994, allocations: 0 / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000425/0.8999, allocations: 325.3 kB / 1.039 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.8999, allocations: 189.4 kB / 1.039 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9, allocations: 0 / 1.039 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9, allocations: 0 / 1.039 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.9002, allocations: 51.95 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9002, allocations: 0 / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.9005, allocations: 47.84 kB / 1.04 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.9005, allocations: 11.56 kB / 1.04 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.485e-06/0.9005, allocations: 4 kB / 1.04 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003187/0.9009, allocations: 218.7 kB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.9009, allocations: 0 / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.9009, allocations: 8 kB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.9011, allocations: 51.27 kB / 1.04 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.9011, allocations: 4.031 kB / 1.04 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.9013, allocations: 39.81 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.9013, allocations: 15.38 kB / 1.04 GB, free: 14.23 MB / 0.6667 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 9.909e-05/0.9014, allocations: 120.7 kB / 1.04 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002587/0.9017, allocations: 191.7 kB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.9018, allocations: 59.23 kB / 1.04 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.9021, allocations: 223.6 kB / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9021, allocations: 4 kB / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9021, allocations: 0 / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9021, allocations: 0 / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.9025, allocations: 403.9 kB / 1.041 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9025, allocations: 0 / 1.041 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.9027, allocations: 31.97 kB / 1.041 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9027, allocations: 4 kB / 1.041 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.9027, allocations: 7.953 kB / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9027, allocations: 0 / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9027, allocations: 0 / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.9031, allocations: 306.5 kB / 1.041 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9033, allocations: 133.9 kB / 1.041 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.9033, allocations: 7.953 kB / 1.041 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.9035, allocations: 32.03 kB / 1.041 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.9036, allocations: 26.64 kB / 1.041 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.9036, allocations: 4 kB / 1.041 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004017/0.904, allocations: 423.9 kB / 1.042 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.904, allocations: 0 / 1.042 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004389/0.9045, allocations: 122.6 kB / 1.042 GB, free: 12.44 MB / 0.6667 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.001329/0.9058, allocations: 1.134 MB / 1.043 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.9063, allocations: 334.1 kB / 1.043 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9063, allocations: 0 / 1.043 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.9064, allocations: 70.16 kB / 1.043 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.9068, allocations: 83.31 kB / 1.043 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.908, allocations: 0.8038 MB / 1.044 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.9085, allocations: 0.8919 MB / 1.045 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003978/0.9089, allocations: 146.4 kB / 1.045 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.9091, allocations: 178.9 kB / 1.045 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.9091, allocations: 3.938 kB / 1.045 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.9384, allocations: 10.51 MB / 1.056 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.9386, allocations: 190.9 kB / 1.056 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.071, allocations: 3.516 kB / 1.056 GB, free: 14.6 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)