Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001009/0.001009, allocations: 172.9 kB / 366.7 MB, free: 1.691 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.526/1.526, allocations: 205.2 MB / 0.626 GB, free: 7.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.0008403/0.0008407, allocations: 86.33 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.842e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5514, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.7159, allocations: 146.1 MB / 1.116 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.7161, allocations: 96.45 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03473/0.7509, allocations: 13.82 MB / 1.129 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7509, allocations: 0 / 1.129 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.573e-05/0.751, allocations: 16 kB / 1.13 GB, free: 6.188 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.001084/0.7521, allocations: 0.7404 MB / 1.13 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7521, allocations: 8.031 kB / 1.13 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.7523, allocations: 71.11 kB / 1.13 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.7531, allocations: 491.9 kB / 1.131 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.7531, allocations: 8 kB / 1.131 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.7532, allocations: 12 kB / 1.131 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002849/0.7535, allocations: 132.7 kB / 1.131 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.7538, allocations: 172 kB / 1.131 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.7538, allocations: 0 / 1.131 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.7539, allocations: 3.953 kB / 1.131 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.7539, allocations: 4 kB / 1.131 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.7553, allocations: 0.8239 MB / 1.132 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.7556, allocations: 184.5 kB / 1.132 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.7557, allocations: 60.89 kB / 1.132 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.7557, allocations: 7.984 kB / 1.132 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.7559, allocations: 139.6 kB / 1.132 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.756, allocations: 0 / 1.132 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003567/0.7563, allocations: 210.6 kB / 1.132 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7564, allocations: 81.11 kB / 1.133 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.7571, allocations: 0.5894 MB / 1.133 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.7571, allocations: 29.7 kB / 1.133 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.7574, allocations: 288.4 kB / 1.133 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.7575, allocations: 51.3 kB / 1.133 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.7575, allocations: 0 / 1.133 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7576, allocations: 374.8 kB / 1.134 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.7578, allocations: 104 kB / 1.134 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.758, allocations: 148.5 kB / 1.134 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.7583, allocations: 102.8 kB / 1.134 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7583, allocations: 4 kB / 1.134 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005239/0.7588, allocations: 342.2 kB / 1.134 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.7589, allocations: 186 kB / 1.135 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7589, allocations: 0 / 1.135 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7589, allocations: 0 / 1.135 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.7592, allocations: 63.89 kB / 1.135 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7592, allocations: 4 kB / 1.135 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.7595, allocations: 47.81 kB / 1.135 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.7595, allocations: 11.98 kB / 1.135 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.7595, allocations: 4 kB / 1.135 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004146/0.76, allocations: 231.8 kB / 1.135 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.76, allocations: 7.969 kB / 1.135 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.76, allocations: 4 kB / 1.135 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.7602, allocations: 47.97 kB / 1.135 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7602, allocations: 7.984 kB / 1.135 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.7604, allocations: 35.83 kB / 1.135 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.7604, allocations: 19.98 kB / 1.135 GB, free: 176 kB / 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.0001044/0.7606, allocations: 112.7 kB / 1.135 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.7606, allocations: 55.34 kB / 1.135 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.761, allocations: 220.4 kB / 1.136 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.761, allocations: 4 kB / 1.136 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.761, allocations: 0 / 1.136 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.761, allocations: 3.984 kB / 1.136 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.7614, allocations: 407.3 kB / 1.136 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7614, allocations: 4 kB / 1.136 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.7616, allocations: 31.97 kB / 1.136 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7616, allocations: 0 / 1.136 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.7616, allocations: 8 kB / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7616, allocations: 0 / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7616, allocations: 3.953 kB / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.7621, allocations: 325.2 kB / 1.136 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7622, allocations: 140.3 kB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.7623, allocations: 4 kB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.7625, allocations: 31.09 kB / 1.136 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.7626, allocations: 31.91 kB / 1.136 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.7626, allocations: 4.062 kB / 1.136 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004536/0.763, allocations: 439.1 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/0.763, allocations: 0.6562 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004431/0.7635, allocations: 131.8 kB / 1.137 GB, free: 14.18 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.0008298/0.7643, allocations: 404 kB / 1.137 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.7648, allocations: 343.8 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7648, allocations: 0 / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.765, allocations: 75.92 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.7654, allocations: 82.03 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.7664, allocations: 0.6903 MB / 1.139 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.7669, allocations: 0.9031 MB / 1.139 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.7673, allocations: 154.6 kB / 1.14 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.7674, allocations: 27.42 kB / 1.14 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7674, allocations: 0 / 1.14 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.01032/0.7777, allocations: 5.576 MB / 1.145 GB, free: 6.129 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)