Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 285.4 MB / 298 MB, free: 5.973 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.0009338/0.0009338, allocations: 180.8 kB / 366.4 MB, free: 2.102 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.469/1.469, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008488/0.0008487, allocations: 96.91 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.106e-05, allocations: 8 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6347, allocations: 115.3 MB / 0.971 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.8357, allocations: 145.8 MB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.836, allocations: 94.66 kB / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03569/0.8717, allocations: 13.95 MB / 1.127 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8718, allocations: 0 / 1.127 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.863e-05/0.8718, allocations: 12 kB / 1.127 GB, free: 7.945 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.001015/0.8728, allocations: 0.7479 MB / 1.128 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8729, allocations: 12.03 kB / 1.128 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.873, allocations: 54.5 kB / 1.128 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.8731, allocations: 71.16 kB / 1.128 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.8738, allocations: 483.9 kB / 1.128 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.8739, allocations: 12.38 kB / 1.128 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.8739, allocations: 24 kB / 1.128 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.8742, allocations: 192.4 kB / 1.129 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8743, allocations: 0 / 1.129 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.8743, allocations: 19.95 kB / 1.129 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.8743, allocations: 4 kB / 1.129 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.8746, allocations: 139.3 kB / 1.129 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.8759, allocations: 0.894 MB / 1.13 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.8762, allocations: 167.7 kB / 1.13 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.8764, allocations: 67 kB / 1.13 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.8764, allocations: 4 kB / 1.13 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.8766, allocations: 153 kB / 1.13 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.8766, allocations: 0 / 1.13 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003652/0.877, allocations: 209.1 kB / 1.13 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.8771, allocations: 77.11 kB / 1.13 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.8778, allocations: 0.6418 MB / 1.131 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.8778, allocations: 33.7 kB / 1.131 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.8781, allocations: 292.5 kB / 1.131 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.8781, allocations: 51.34 kB / 1.131 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.8782, allocations: 8 kB / 1.131 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8783, allocations: 378.7 kB / 1.132 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8785, allocations: 108 kB / 1.132 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.8787, allocations: 157.5 kB / 1.132 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.8789, allocations: 103.2 kB / 1.132 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8789, allocations: 4 kB / 1.132 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004579/0.8794, allocations: 348.6 kB / 1.132 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.8794, allocations: 182 kB / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8795, allocations: 0 / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8795, allocations: 4 kB / 1.132 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.8798, allocations: 63.94 kB / 1.133 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8798, allocations: 0 / 1.133 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.88, allocations: 51.77 kB / 1.133 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.8801, allocations: 13.39 kB / 1.133 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.8801, allocations: 8 kB / 1.133 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004005/0.8805, allocations: 253.5 kB / 1.133 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.8805, allocations: 4 kB / 1.133 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.8805, allocations: 0 / 1.133 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.8807, allocations: 51.97 kB / 1.133 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.8807, allocations: 0 / 1.133 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.8809, allocations: 47.84 kB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.881, allocations: 12 kB / 1.133 GB, free: 1.629 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 9.95e-05/0.8811, allocations: 116.9 kB / 1.133 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.8812, allocations: 65.77 kB / 1.133 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.8815, allocations: 235.9 kB / 1.133 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.8816, allocations: 4 kB / 1.133 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8816, allocations: 4 kB / 1.133 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8816, allocations: 0 / 1.133 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.882, allocations: 451.2 kB / 1.134 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.882, allocations: 3.984 kB / 1.134 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.8822, allocations: 27.98 kB / 1.134 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.8822, allocations: 7.938 kB / 1.134 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.8822, allocations: 11.94 kB / 1.134 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8822, allocations: 0 / 1.134 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8822, allocations: 0 / 1.134 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.8827, allocations: 337.7 kB / 1.134 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.8828, allocations: 140.3 kB / 1.134 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.8829, allocations: 8 kB / 1.134 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.8831, allocations: 40.03 kB / 1.134 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.8832, allocations: 23.95 kB / 1.134 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.8832, allocations: 8 kB / 1.134 GB, free: 76 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005345/0.8837, allocations: 475.1 kB / 1.135 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8837, allocations: 0 / 1.135 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004747/0.8842, allocations: 155.8 kB / 1.135 GB, free: 15.46 MB / 0.7448 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.001534/0.8858, allocations: 1.186 MB / 1.136 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.8863, allocations: 360.8 kB / 1.136 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8863, allocations: 4.125 kB / 1.137 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.8864, allocations: 83.92 kB / 1.137 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.8869, allocations: 76.64 kB / 1.137 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.8882, allocations: 0.8584 MB / 1.137 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.8887, allocations: 0.8982 MB / 1.138 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004206/0.8891, allocations: 153.7 kB / 1.139 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.8893, allocations: 193.3 kB / 1.139 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.8894, allocations: 4 kB / 1.139 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.9139, allocations: 12.52 MB / 1.151 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.9141, allocations: 206.6 kB / 1.151 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.213, allocations: 0 / 1.151 GB, free: 15.26 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)