Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 251.5 MB / 267.4 MB, free: 10.85 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.0009129/0.0009129, allocations: 175.2 kB / 326.5 MB, free: 2.648 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.376/1.376, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007278/0.0007278, allocations: 89.23 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.000312, allocations: 12.86 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001209/0.1575, allocations: 1.136 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.158, allocations: 285.7 kB / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.158, allocations: 0 / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.3e-05/0.1581, allocations: 7.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1582, allocations: 15.92 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1583, allocations: 31.89 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.1584, allocations: 55.8 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.1585, allocations: 12.25 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.1586, allocations: 15.94 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.1587, allocations: 35.89 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1587, allocations: 4 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.1587, allocations: 4 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.1588, allocations: 11.92 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1588, allocations: 19.88 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.868e-05/0.1589, allocations: 63.77 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1589, allocations: 0 / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1589, allocations: 7.922 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.1589, allocations: 0 / 0.8984 GB, free: 66.41 MB / 0.6042 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.0003372/0.1592, allocations: 385 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1593, allocations: 15.97 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1593, allocations: 12.78 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1594, allocations: 172.4 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1595, allocations: 4.375 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1595, allocations: 4.375 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1596, allocations: 74.17 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1596, allocations: 192 / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1597, allocations: 3.938 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1597, allocations: 0 / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.1598, allocations: 51.91 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.1601, allocations: 292.7 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.1602, allocations: 74.61 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.1603, allocations: 64.83 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1603, allocations: 4 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.1604, allocations: 113.1 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1604, allocations: 0 / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003121/0.1607, allocations: 207.2 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1608, allocations: 114.8 kB / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.1608, allocations: 109.8 kB / 0.9 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1609, allocations: 33.69 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.082e-05/0.1609, allocations: 84.14 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1609, allocations: 27.7 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1609, allocations: 25.66 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.161, allocations: 322.8 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1611, allocations: 43.97 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.1612, allocations: 101.5 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1613, allocations: 215.8 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1613, allocations: 0 / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000239/0.1616, allocations: 211.2 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1616, allocations: 33.7 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1616, allocations: 0 / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1616, allocations: 4 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1618, allocations: 31.92 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1618, allocations: 4 kB / 0.9011 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.1618, allocations: 11.84 kB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1619, allocations: 15.98 kB / 0.9012 GB, free: 63.25 MB / 0.6042 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 (movMea.iSample,$PRE.movMea.iSample,movMea.counter,$PRE.movMea.counter,movMea.ySample[4],$PRE.movMea.ySample[4],movMea.ySample[3],$PRE.movMea.ySample[3],movMea.ySample[2],$PRE.movMea.ySample[2],movMea.ySample[1],$PRE.movMea.ySample[1],movMea.index,$PRE.movMea.index,movMea.y,$PRE.movMea.y,movMea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.1619, allocations: 176.2 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.162, allocations: 11.91 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.162, allocations: 4.375 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.162, allocations: 0 / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.162, allocations: 4 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.162, allocations: 89.03 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1621, allocations: 8 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.1621, allocations: 8 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1622, allocations: 11.92 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002756/0.1624, allocations: 345.9 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002493/0.1627, allocations: 376.4 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.841e-05/0.1628, allocations: 108 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.1628, allocations: 91.27 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Backend: time 3.1e-07/0.1628, allocations: 0 / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.1632, allocations: 215.2 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003602/0.1636, allocations: 0.696 MB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.002415/0.166, allocations: 0.9539 MB / 0.9042 GB, free: 60.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)