Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001244/0.001244, allocations: 189 kB / 377.1 MB, free: 1.531 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.74/1.74, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.000972/0.0009714, allocations: 83.95 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2736, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7384/1.012, allocations: 139.2 MB / 1.124 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.012, allocations: 82.53 kB / 1.124 GB, free: 35.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004095/1.017, allocations: 1.624 MB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/1.017, allocations: 4 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.017, allocations: 0 / 1.126 GB, free: 34.17 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003819/1.017, allocations: 395.6 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.017, allocations: 8.031 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/1.017, allocations: 9.969 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.017, allocations: 178.5 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.017, allocations: 4 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.017, allocations: 8.812 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.017, allocations: 77.5 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.017, allocations: 3.719 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.017, allocations: 0 / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.018, allocations: 0.8125 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/1.018, allocations: 47.22 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/1.018, allocations: 294.7 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.018, allocations: 78.8 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.018, allocations: 0 / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/1.018, allocations: 118.5 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/1.018, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004001/1.019, allocations: 294.5 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.019, allocations: 114.3 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/1.019, allocations: 105.6 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.019, allocations: 33.7 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/1.019, allocations: 84.14 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/1.019, allocations: 31.64 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/1.019, allocations: 4 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/1.019, allocations: 330.1 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/1.019, allocations: 34.61 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/1.019, allocations: 103.7 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/1.019, allocations: 85.38 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.019, allocations: 0 / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002559/1.02, allocations: 205.3 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.02, allocations: 33.7 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.02, allocations: 0 / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.02, allocations: 4 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.02, allocations: 36.05 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.02, allocations: 7.938 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/1.02, allocations: 19.78 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.02, allocations: 12.55 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001144/1.02, allocations: 166.8 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/1.02, allocations: 12.41 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/1.02, allocations: 5.359 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/1.02, allocations: 4.75 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.02, allocations: 0 / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.02, allocations: 3.953 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/1.02, allocations: 187.6 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.02, allocations: 0 / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/1.02, allocations: 7.422 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.02, allocations: 0 / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.02, allocations: 4 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.02, allocations: 1.156 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.02, allocations: 0 / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/1.021, allocations: 240.1 kB / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/1.021, allocations: 85.64 kB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/1.021, allocations: 8.688 kB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/1.021, allocations: 8 kB / 1.129 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/1.021, allocations: 3.469 kB / 1.129 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/1.021, allocations: 4.562 kB / 1.129 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.858e-05/1.021, allocations: 95.55 kB / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.021, allocations: 0 / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002064/1.021, allocations: 24 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001113/1.021, allocations: 106.7 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.021, allocations: 179.3 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.021, allocations: 0.5625 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.022, allocations: 185.1 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/1.022, allocations: 13.52 kB / 1.13 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/1.022, allocations: 199.9 kB / 1.13 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/1.022, allocations: 0.6924 MB / 1.131 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.732e-05/1.022, allocations: 12.14 kB / 1.131 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/1.022, allocations: 11.44 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.022, allocations: 3.938 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.002811/1.025, allocations: 0.8565 MB / 1.132 GB, free: 28.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)