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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 178.2 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0007323/0.0007324, allocations: 93.45 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 16.23 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.3517, allocations: 139.2 MB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.3521, allocations: 95.94 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03548/0.3876, allocations: 13.45 MB / 1.05 GB, free: 6.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3876, allocations: 3.938 kB / 1.05 GB, free: 6.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.902e-05/0.3877, allocations: 12 kB / 1.05 GB, free: 6.648 MB / 0.698 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.001823/0.3895, allocations: 0.8253 MB / 1.051 GB, free: 5.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3896, allocations: 12.03 kB / 1.051 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3898, allocations: 64.09 kB / 1.051 GB, free: 5.695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.3907, allocations: 496.4 kB / 1.052 GB, free: 5.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.3907, allocations: 12.38 kB / 1.052 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.3908, allocations: 28.28 kB / 1.052 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.3913, allocations: 218.1 kB / 1.052 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3914, allocations: 3.938 kB / 1.052 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3914, allocations: 8 kB / 1.052 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3914, allocations: 11.92 kB / 1.052 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.3919, allocations: 175.9 kB / 1.052 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.3934, allocations: 0.8475 MB / 1.053 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.394, allocations: 254.7 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3942, allocations: 88.81 kB / 1.053 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.3943, allocations: 4 kB / 1.053 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.3946, allocations: 177 kB / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.3946, allocations: 0 / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007857/0.3954, allocations: 332.8 kB / 1.054 GB, free: 2.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3955, allocations: 77.11 kB / 1.054 GB, free: 2.852 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.3964, allocations: 0.6994 MB / 1.055 GB, free: 2.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3964, allocations: 33.7 kB / 1.055 GB, free: 2.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.3967, allocations: 284.2 kB / 1.055 GB, free: 1.816 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.3967, allocations: 55.34 kB / 1.055 GB, free: 1.762 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.3968, allocations: 4 kB / 1.055 GB, free: 1.758 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3969, allocations: 382.7 kB / 1.055 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3972, allocations: 131.9 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3976, allocations: 188.4 kB / 1.056 GB, free: 1.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.398, allocations: 213.9 kB / 1.056 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3981, allocations: 0 / 1.056 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007097/0.3988, allocations: 398.4 kB / 1.056 GB, free: 452 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.3988, allocations: 93.86 kB / 1.056 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3989, allocations: 8.031 kB / 1.056 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3989, allocations: 7.922 kB / 1.056 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3991, allocations: 55.91 kB / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3991, allocations: 0 / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.3994, allocations: 51.81 kB / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.3994, allocations: 8 kB / 1.056 GB, free: 216 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.3995, allocations: 4 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4224/0.8219, allocations: 279 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8219, allocations: 0 / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.8219, allocations: 2.438 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.8222, allocations: 51.75 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8222, allocations: 3.562 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.8225, allocations: 40.36 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.8225, allocations: 7.812 kB / 1.057 GB, free: 146.3 MB / 0.698 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.0003821/0.8229, allocations: 301.4 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.823, allocations: 64.02 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.8236, allocations: 273.2 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8236, allocations: 6 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8237, allocations: 2.797 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8237, allocations: 0.6094 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.8241, allocations: 451.3 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8241, allocations: 0 / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.8243, allocations: 33.95 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.8243, allocations: 0 / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.8243, allocations: 12.45 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8243, allocations: 0 / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8243, allocations: 2.312 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.825, allocations: 408.5 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.8251, allocations: 135.6 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.8252, allocations: 9.859 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.8253, allocations: 32.7 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.8254, allocations: 25.45 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.8254, allocations: 14.39 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004317/0.8259, allocations: 463.2 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8259, allocations: 1.75 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000453/0.8263, allocations: 138.7 kB / 1.059 GB, free: 145.6 MB / 0.698 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.0009834/0.8273, allocations: 461.3 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007262/0.8281, allocations: 404.5 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8281, allocations: 0 / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.8283, allocations: 108.2 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.8288, allocations: 90.2 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8301, allocations: 1.073 MB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.8304, allocations: 0.8802 MB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.8306, allocations: 48.25 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.8307, allocations: 32.38 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8307, allocations: 0 / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01083/0.8415, allocations: 4.726 MB / 1.067 GB, free: 144 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)