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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 293 MB / 309 MB, free: 4.816 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.00101/0.00101, allocations: 180 kB / 378.7 MB, free: 1.012 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.695/1.695, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0009112/0.0009113, allocations: 100.6 kB / 0.7527 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 15.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3089, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8126/1.122, allocations: 146.9 MB / 1.134 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.122, allocations: 93.16 kB / 1.134 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03772/1.16, allocations: 14.02 MB / 1.148 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.699e-06/1.16, allocations: 0.7969 kB / 1.148 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.501e-05/1.16, allocations: 16.56 kB / 1.148 GB, free: 18.69 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.002011/1.162, allocations: 0.8627 MB / 1.149 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.162, allocations: 9.156 kB / 1.149 GB, free: 17.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/1.162, allocations: 68.09 kB / 1.149 GB, free: 17.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.163, allocations: 0.5114 MB / 1.149 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/1.163, allocations: 17.31 kB / 1.149 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/1.163, allocations: 22.25 kB / 1.149 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/1.164, allocations: 227.3 kB / 1.149 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.164, allocations: 7.938 kB / 1.149 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/1.164, allocations: 13.11 kB / 1.149 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.164, allocations: 4 kB / 1.149 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/1.165, allocations: 181 kB / 1.15 GB, free: 16.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/1.167, allocations: 0.8787 MB / 1.15 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/1.167, allocations: 262.8 kB / 1.151 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.168, allocations: 89.52 kB / 1.151 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/1.168, allocations: 4.703 kB / 1.151 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/1.168, allocations: 175.1 kB / 1.151 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/1.168, allocations: 0 / 1.151 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0008543/1.169, allocations: 355.4 kB / 1.151 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/1.169, allocations: 82.38 kB / 1.151 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.17, allocations: 0.7192 MB / 1.152 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/1.17, allocations: 34.45 kB / 1.152 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.17, allocations: 297.8 kB / 1.152 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/1.17, allocations: 52.23 kB / 1.152 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/1.17, allocations: 4 kB / 1.152 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.171, allocations: 378.9 kB / 1.153 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/1.171, allocations: 143.7 kB / 1.153 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/1.171, allocations: 185.2 kB / 1.153 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/1.172, allocations: 224.8 kB / 1.153 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.172, allocations: 0.9375 kB / 1.153 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007411/1.172, allocations: 404.9 kB / 1.154 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/1.173, allocations: 98.8 kB / 1.154 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.173, allocations: 4.734 kB / 1.154 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.173, allocations: 4.047 kB / 1.154 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/1.173, allocations: 61.58 kB / 1.154 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.173, allocations: 6.422 kB / 1.154 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/1.173, allocations: 48.94 kB / 1.154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/1.173, allocations: 12 kB / 1.154 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.173, allocations: 8 kB / 1.154 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004916/1.174, allocations: 283.8 kB / 1.154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.174, allocations: 0.625 kB / 1.154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/1.174, allocations: 4 kB / 1.154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.174, allocations: 52.53 kB / 1.154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.174, allocations: 7.969 kB / 1.154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/1.174, allocations: 36.06 kB / 1.154 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.174, allocations: 12.39 kB / 1.154 GB, free: 12.46 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 () * 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.0004322/1.175, allocations: 310.9 kB / 1.155 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/1.175, allocations: 63.16 kB / 1.155 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/1.175, allocations: 286.8 kB / 1.155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.175, allocations: 4 kB / 1.155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.175, allocations: 0 / 1.155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.176, allocations: 0 / 1.155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/1.176, allocations: 452.9 kB / 1.155 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.176, allocations: 4 kB / 1.155 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/1.176, allocations: 25.67 kB / 1.155 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.176, allocations: 5.734 kB / 1.155 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.176, allocations: 6.25 kB / 1.155 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.176, allocations: 8.641 kB / 1.155 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.176, allocations: 0 / 1.155 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/1.177, allocations: 416.1 kB / 1.156 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/1.177, allocations: 138.8 kB / 1.156 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/1.177, allocations: 11.94 kB / 1.156 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.178, allocations: 31.66 kB / 1.156 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.178, allocations: 27.25 kB / 1.156 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/1.178, allocations: 10.53 kB / 1.156 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006848/1.178, allocations: 486.5 kB / 1.157 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.178, allocations: 0 / 1.157 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007194/1.179, allocations: 155.4 kB / 1.157 GB, free: 10.27 MB / 0.7292 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.001254/1.18, allocations: 473.9 kB / 1.157 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008611/1.181, allocations: 407.2 kB / 1.157 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.181, allocations: 4 kB / 1.158 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/1.182, allocations: 106 kB / 1.158 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/1.182, allocations: 83.52 kB / 1.158 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/1.184, allocations: 1.12 MB / 1.159 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/1.185, allocations: 0.8882 MB / 1.16 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003074/1.185, allocations: 56.95 kB / 1.16 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.185, allocations: 34.02 kB / 1.16 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.185, allocations: 0 / 1.16 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of Templates: time 0.01142/1.196, allocations: 5.12 MB / 1.165 GB, free: 2.953 MB / 0.7292 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)