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.499/1.499, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001106/0.001105, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008456/0.0008455, allocations: 90.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.258e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6592/0.8655, allocations: 139 MB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.8658, allocations: 95.56 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03552/0.9013, allocations: 13.37 MB / 1.041 GB, free: 284 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9014, allocations: 3.938 kB / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.85e-05/0.9015, allocations: 12 kB / 1.041 GB, free: 268 kB / 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.001297/0.9028, allocations: 0.72 MB / 1.042 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9028, allocations: 12.03 kB / 1.042 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.9029, allocations: 52.88 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.9031, allocations: 63.25 kB / 1.042 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.9039, allocations: 463.1 kB / 1.042 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.9039, allocations: 11.56 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.904, allocations: 22.88 kB / 1.042 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.9043, allocations: 188.9 kB / 1.042 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.9044, allocations: 3.984 kB / 1.042 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.9044, allocations: 14.77 kB / 1.042 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9044, allocations: 7.938 kB / 1.042 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.9047, allocations: 132.2 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.9061, allocations: 0.8533 MB / 1.043 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.9064, allocations: 168 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.9065, allocations: 63.67 kB / 1.044 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.9066, allocations: 7.984 kB / 1.044 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.9068, allocations: 138.6 kB / 1.044 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=16): time 4.639e-06/0.9068, allocations: 0 / 1.044 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=16): time 0.0004135/0.9073, allocations: 205.6 kB / 1.044 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.9073, allocations: 88.84 kB / 1.044 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.9081, allocations: 0.6148 MB / 1.045 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.9082, allocations: 32.39 kB / 1.045 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.9084, allocations: 284.6 kB / 1.045 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.9084, allocations: 52.59 kB / 1.045 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.9085, allocations: 3.312 kB / 1.045 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9086, allocations: 373.6 kB / 1.045 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.9088, allocations: 102.2 kB / 1.045 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.909, allocations: 156.8 kB / 1.046 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.9092, allocations: 107.1 kB / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9092, allocations: 0 / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005028/0.9097, allocations: 339.7 kB / 1.046 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.9098, allocations: 183.7 kB / 1.046 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9098, allocations: 4 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9099, allocations: 0 / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.9101, allocations: 55.2 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.9101, allocations: 0 / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.9104, allocations: 54.86 kB / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.9105, allocations: 18.81 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.9105, allocations: 4 kB / 1.046 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003824/0.9109, allocations: 245.9 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.9109, allocations: 0 / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/0.9109, allocations: 0 / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.9111, allocations: 55.81 kB / 1.047 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.9111, allocations: 7.922 kB / 1.047 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.9113, allocations: 43.06 kB / 1.047 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.9114, allocations: 11.31 kB / 1.047 GB, free: 11.27 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 0.0001033/0.9115, allocations: 126.9 kB / 1.047 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.9115, allocations: 63.3 kB / 1.047 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.9119, allocations: 226.9 kB / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9119, allocations: 0 / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9119, allocations: 4 kB / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.912, allocations: 0 / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.9124, allocations: 444.9 kB / 1.047 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9124, allocations: 0 / 1.047 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.9126, allocations: 35.92 kB / 1.047 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.9126, allocations: 0 / 1.047 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.9126, allocations: 15.5 kB / 1.047 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.9126, allocations: 0 / 1.047 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9126, allocations: 0 / 1.047 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.9131, allocations: 317.2 kB / 1.048 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.9132, allocations: 136 kB / 1.048 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.9133, allocations: 18.7 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.9135, allocations: 28.05 kB / 1.048 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.9136, allocations: 31.08 kB / 1.048 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.9136, allocations: 7.984 kB / 1.048 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005009/0.9141, allocations: 459.4 kB / 1.048 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9141, allocations: 0 / 1.048 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004773/0.9146, allocations: 141.3 kB / 1.049 GB, free: 9.539 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.001548/0.9162, allocations: 1.171 MB / 1.05 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.9167, allocations: 348.6 kB / 1.05 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9167, allocations: 0 / 1.05 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.9169, allocations: 76.62 kB / 1.05 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.9173, allocations: 70.14 kB / 1.05 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.9188, allocations: 0.8148 MB / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.9192, allocations: 0.8958 MB / 1.052 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004529/0.9197, allocations: 150.1 kB / 1.052 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.9199, allocations: 176.6 kB / 1.052 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.9199, allocations: 3.938 kB / 1.052 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.9465, allocations: 11.92 MB / 1.064 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.9468, allocations: 222.6 kB / 1.064 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.157, allocations: 0 / 1.064 GB, free: 10.3 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)