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.65/1.65, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009817/0.0009817, allocations: 177.3 kB / 372.9 MB, free: 10.17 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.454/1.454, allocations: 205.4 MB / 0.6317 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007836/0.0007834, allocations: 92.09 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006207/0.0006213, allocations: 12.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2468, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.051, allocations: 138.7 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.051, allocations: 73.19 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01498/1.066, allocations: 5.555 MB / 1.122 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/1.066, allocations: 0 / 1.122 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.066, allocations: 3.844 kB / 1.122 GB, free: 31.86 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007881/1.067, allocations: 0.4981 MB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.067, allocations: 15.66 kB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/1.067, allocations: 20.34 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/1.068, allocations: 236.4 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/1.068, allocations: 19.42 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/1.068, allocations: 23.67 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/1.068, allocations: 192.3 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.068, allocations: 4.188 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/1.068, allocations: 14.08 kB / 1.123 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.068, allocations: 7.812 kB / 1.123 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/1.068, allocations: 100.4 kB / 1.123 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/1.069, allocations: 485.3 kB / 1.123 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/1.069, allocations: 149.4 kB / 1.123 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.069, allocations: 94.91 kB / 1.123 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.069, allocations: 3.844 kB / 1.123 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/1.07, allocations: 210.6 kB / 1.124 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/1.07, allocations: 4 kB / 1.124 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0008002/1.071, allocations: 472.5 kB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.071, allocations: 59.31 kB / 1.124 GB, free: 30.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.071, allocations: 136.8 kB / 1.124 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.071, allocations: 47.16 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/1.071, allocations: 105.4 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/1.071, allocations: 69.06 kB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/1.071, allocations: 6.812 kB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.071, allocations: 329.4 kB / 1.125 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/1.071, allocations: 141.7 kB / 1.125 GB, free: 30.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/1.072, allocations: 210.1 kB / 1.125 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/1.072, allocations: 356.8 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.072, allocations: 4 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006969/1.073, allocations: 494.4 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/1.073, allocations: 69.17 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.073, allocations: 0 / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.073, allocations: 10.39 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.073, allocations: 60.17 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.073, allocations: 4 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.074, allocations: 97.31 kB / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.074, allocations: 25.19 kB / 1.126 GB, free: 29.66 MB / 0.698 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 () * Number of clocked 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.0001689/1.074, allocations: 166.1 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/1.074, allocations: 22.19 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/1.074, allocations: 8.938 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.074, allocations: 7.812 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.074, allocations: 4 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.074, allocations: 6.344 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/1.075, allocations: 0.6857 MB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.075, allocations: 0 / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/1.075, allocations: 11.53 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.075, allocations: 3.906 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.075, allocations: 14.12 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.075, allocations: 7.938 kB / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.075, allocations: 0 / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/1.075, allocations: 465.5 kB / 1.128 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/1.076, allocations: 92.64 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/1.076, allocations: 21.33 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/1.076, allocations: 13.31 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.076, allocations: 14.08 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.076, allocations: 20.02 kB / 1.128 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.104e-05/1.076, allocations: 101.4 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.733e-06/1.076, allocations: 0 / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003489/1.076, allocations: 79.59 kB / 1.128 GB, free: 28.86 MB / 0.698 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]) * Number of clocked states: 0 () * 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.0002044/1.076, allocations: 144.2 kB / 1.128 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006428/1.077, allocations: 461.5 kB / 1.129 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.077, allocations: 0 / 1.129 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/1.077, allocations: 125.2 kB / 1.129 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/1.078, allocations: 36.16 kB / 1.129 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/1.078, allocations: 343.7 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.079, allocations: 0.7174 MB / 1.13 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.751e-05/1.079, allocations: 18.56 kB / 1.13 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/1.079, allocations: 26.5 kB / 1.13 GB, free: 27.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.079, allocations: 0 / 1.13 GB, free: 27.68 MB / 0.698 GB Notification: Performance of Templates: time 0.005878/1.085, allocations: 3.371 MB / 1.133 GB, free: 26.79 MB / 0.698 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)