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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001714/0.001714, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.529/1.529, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008672/0.0008671, allocations: 92.69 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.022e-05, allocations: 4 kB / 0.8517 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6469, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.8373, allocations: 145.1 MB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.8376, allocations: 89.5 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03677/0.8744, allocations: 13.82 MB / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8744, allocations: 0 / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.38e-05/0.8745, allocations: 8 kB / 1.12 GB, free: 12.83 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.00126/0.8758, allocations: 0.7482 MB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8758, allocations: 8.031 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.876, allocations: 71.11 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009002/0.8769, allocations: 480 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.877, allocations: 4 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.877, allocations: 14.81 kB / 1.121 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000275/0.8773, allocations: 136.7 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.8776, allocations: 164 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.8776, allocations: 8 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.8777, allocations: 3.953 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8777, allocations: 4 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.8792, allocations: 0.8394 MB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.8795, allocations: 174.8 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.8796, allocations: 56.86 kB / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.8796, allocations: 0 / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.8799, allocations: 145.8 kB / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.8799, allocations: 0 / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003929/0.8803, allocations: 214 kB / 1.123 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.8804, allocations: 81.11 kB / 1.123 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/0.8811, allocations: 0.5816 MB / 1.123 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.8811, allocations: 29.7 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8814, allocations: 288.3 kB / 1.124 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.8814, allocations: 47.36 kB / 1.124 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.8815, allocations: 4 kB / 1.124 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8817, allocations: 374.8 kB / 1.124 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.8819, allocations: 104 kB / 1.124 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.8821, allocations: 145.2 kB / 1.124 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.8824, allocations: 109.1 kB / 1.124 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8824, allocations: 4 kB / 1.124 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005562/0.8829, allocations: 342.5 kB / 1.125 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.883, allocations: 178 kB / 1.125 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8831, allocations: 0 / 1.125 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8831, allocations: 4 kB / 1.125 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.8833, allocations: 59.94 kB / 1.125 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8834, allocations: 3.984 kB / 1.125 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.8836, allocations: 43.81 kB / 1.125 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.8837, allocations: 16 kB / 1.125 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.8837, allocations: 4 kB / 1.125 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004358/0.8841, allocations: 248 kB / 1.125 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.8841, allocations: 0 / 1.125 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.8841, allocations: 0 / 1.125 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.8843, allocations: 47.97 kB / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.8844, allocations: 3.938 kB / 1.125 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.8846, allocations: 43.84 kB / 1.125 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.8847, allocations: 12 kB / 1.125 GB, free: 6.82 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 0.0001135/0.8848, allocations: 114 kB / 1.125 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.8849, allocations: 57.11 kB / 1.125 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.8852, allocations: 228.2 kB / 1.126 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.8853, allocations: 4 kB / 1.126 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8853, allocations: 0 / 1.126 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8853, allocations: 0 / 1.126 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.8857, allocations: 409.8 kB / 1.126 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8857, allocations: 0 / 1.126 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.8859, allocations: 27.98 kB / 1.126 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.8859, allocations: 4 kB / 1.126 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.8859, allocations: 3.984 kB / 1.126 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.8859, allocations: 3 kB / 1.126 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.886, allocations: 11.89 kB / 1.126 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.8864, allocations: 319.2 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.8866, allocations: 144.3 kB / 1.127 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.8866, allocations: 4 kB / 1.127 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.8868, allocations: 32.03 kB / 1.127 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.8869, allocations: 31.91 kB / 1.127 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.8869, allocations: 11.98 kB / 1.127 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005161/0.8875, allocations: 427.1 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8875, allocations: 2.812 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000508/0.888, allocations: 139.8 kB / 1.127 GB, free: 4.816 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) * 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.0009834/0.889, allocations: 406.6 kB / 1.128 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.8895, allocations: 343.8 kB / 1.128 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8896, allocations: 0 / 1.128 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.8897, allocations: 78.11 kB / 1.128 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.8902, allocations: 83.39 kB / 1.128 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.8914, allocations: 0.7 MB / 1.129 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.8919, allocations: 0.8978 MB / 1.13 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.8924, allocations: 146.9 kB / 1.13 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.8925, allocations: 27.42 kB / 1.13 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of SimCode: time 1.503e-06/0.8925, allocations: 4 kB / 1.13 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.01315/0.9056, allocations: 5.567 MB / 1.135 GB, free: 12.77 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)