Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.00122/0.00122, allocations: 184.9 kB / 361.4 MB, free: 6.82 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.49/1.49, allocations: 205.2 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.001273/0.001273, allocations: 96.86 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.821e-05, allocations: 4 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.806, allocations: 115.3 MB / 0.9644 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/1.032, allocations: 137.9 MB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.033, allocations: 71.95 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01779/1.05, allocations: 5.488 MB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/1.05, allocations: 0 / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.05, allocations: 2.625 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008324/1.051, allocations: 494.9 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.051, allocations: 8.031 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.051, allocations: 24.84 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.052, allocations: 239.7 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/1.052, allocations: 8 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/1.052, allocations: 19.98 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001907/1.052, allocations: 72.45 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/1.052, allocations: 171.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.053, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.053, allocations: 3.984 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.053, allocations: 4 kB / 1.106 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/1.053, allocations: 461.6 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/1.054, allocations: 118.9 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/1.054, allocations: 85.22 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.054, allocations: 192 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/1.054, allocations: 210.4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 3.757e-06/1.054, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.0006242/1.055, allocations: 349.4 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.055, allocations: 63.34 kB / 1.107 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.055, allocations: 126.4 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/1.055, allocations: 33.7 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/1.055, allocations: 108.6 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.055, allocations: 63.25 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.055, allocations: 11.94 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.055, allocations: 326.8 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/1.056, allocations: 123.3 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/1.056, allocations: 176.9 kB / 1.108 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/1.056, allocations: 158.7 kB / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.056, allocations: 4 kB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008927/1.057, allocations: 399 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/1.057, allocations: 68.77 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.057, allocations: 8 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.058, allocations: 4 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/1.058, allocations: 59.91 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.058, allocations: 4 kB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/1.058, allocations: 87.7 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/1.058, allocations: 27.73 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * 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.0001668/1.058, allocations: 150.1 kB / 1.109 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/1.058, allocations: 15.81 kB / 1.109 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/1.059, allocations: 9.969 kB / 1.109 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.059, allocations: 4 kB / 1.109 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.059, allocations: 3.984 kB / 1.109 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.059, allocations: 0 / 1.109 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/1.059, allocations: 0.6161 MB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.059, allocations: 0 / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/1.059, allocations: 15.98 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.059, allocations: 4 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/1.06, allocations: 7.984 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.06, allocations: 0 / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.06, allocations: 0 / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/1.06, allocations: 439.2 kB / 1.11 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/1.06, allocations: 100.8 kB / 1.11 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/1.061, allocations: 19.98 kB / 1.11 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.061, allocations: 11.98 kB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/1.061, allocations: 15.98 kB / 1.11 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/1.061, allocations: 19.97 kB / 1.11 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.242e-05/1.061, allocations: 99.94 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/1.061, allocations: 0 / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005943/1.062, allocations: 63.98 kB / 1.11 GB, free: 6.508 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[3],triMovMea.ySample[2],triMovMea.ySample[1],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0003143/1.062, allocations: 149.1 kB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008146/1.063, allocations: 414.6 kB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.063, allocations: 0 / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/1.063, allocations: 116.4 kB / 1.111 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/1.063, allocations: 31.03 kB / 1.111 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/1.064, allocations: 191.3 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/1.065, allocations: 0.7334 MB / 1.112 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000114/1.065, allocations: 18.08 kB / 1.112 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/1.065, allocations: 19.42 kB / 1.112 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/1.065, allocations: 4 kB / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.009319/1.075, allocations: 3.164 MB / 1.115 GB, free: 1.703 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe 2>&1)