Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.0009197/0.0009198, allocations: 181.9 kB / 372.9 MB, free: 10.14 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.349/1.349, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007094/0.0007093, allocations: 94.58 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 11.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001899/0.2272, allocations: 1.095 MB / 0.9818 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.2279, allocations: 273 kB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.228, allocations: 0 / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2281, allocations: 7.938 kB / 0.9821 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2283, allocations: 11.92 kB / 0.9821 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.2285, allocations: 31.91 kB / 0.9821 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2286, allocations: 47.84 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2287, allocations: 8 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2289, allocations: 27.91 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.229, allocations: 31.84 kB / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.229, allocations: 4 kB / 0.9822 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.2291, allocations: 4 kB / 0.9823 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.2291, allocations: 7.984 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.2292, allocations: 49.58 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.2293, allocations: 44.17 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2293, allocations: 0 / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2293, allocations: 0 / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2293, allocations: 0 / 0.9824 GB, free: 25.68 MB / 0.6198 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.0004665/0.2298, allocations: 388.9 kB / 0.9827 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.2299, allocations: 8.031 kB / 0.9827 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.2299, allocations: 12.88 kB / 0.9827 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2301, allocations: 176.3 kB / 0.9829 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2302, allocations: 4.375 kB / 0.9829 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2302, allocations: 4.312 kB / 0.9829 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.2305, allocations: 74.22 kB / 0.983 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2305, allocations: 4.125 kB / 0.983 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2305, allocations: 7.938 kB / 0.983 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2305, allocations: 0 / 0.983 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.2307, allocations: 43.98 kB / 0.983 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.2312, allocations: 284.9 kB / 0.9833 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2314, allocations: 74.44 kB / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.2316, allocations: 60.89 kB / 0.9834 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2317, allocations: 3.984 kB / 0.9834 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.2319, allocations: 125 kB / 0.9836 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.225e-06/0.2319, allocations: 0 / 0.9836 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005737/0.2325, allocations: 199.4 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.2326, allocations: 122.8 kB / 0.9839 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.2327, allocations: 109.8 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2327, allocations: 29.7 kB / 0.984 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2328, allocations: 91.98 kB / 0.9841 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2328, allocations: 19.8 kB / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.2328, allocations: 8 kB / 0.9841 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.2329, allocations: 322.8 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2331, allocations: 35.98 kB / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2333, allocations: 104.5 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.2336, allocations: 211.8 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2336, allocations: 3.938 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004649/0.2341, allocations: 215.1 kB / 0.985 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.2341, allocations: 33.7 kB / 0.985 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2342, allocations: 4 kB / 0.985 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2342, allocations: 0 / 0.985 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.2344, allocations: 31.92 kB / 0.985 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2344, allocations: 4 kB / 0.985 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2346, allocations: 15.88 kB / 0.9851 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2346, allocations: 8 kB / 0.9851 GB, free: 22.56 MB / 0.6198 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.0001575/0.2348, allocations: 183.4 kB / 0.9852 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2348, allocations: 7.906 kB / 0.9852 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.2349, allocations: 4.375 kB / 0.9853 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2349, allocations: 0 / 0.9853 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2349, allocations: 0 / 0.9853 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.2349, allocations: 85.02 kB / 0.9853 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.235, allocations: 11.98 kB / 0.9853 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.2351, allocations: 8 kB / 0.9854 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2352, allocations: 11.92 kB / 0.9854 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004932/0.2357, allocations: 342.3 kB / 0.9857 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004968/0.2362, allocations: 396.1 kB / 0.9861 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002065/0.2364, allocations: 108 kB / 0.9862 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.2365, allocations: 87.28 kB / 0.9863 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of Backend: time 4.61e-07/0.2365, allocations: 0 / 0.9863 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006782/0.2372, allocations: 211.5 kB / 0.9865 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005706/0.2378, allocations: 0.6962 MB / 0.9871 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.004653/0.2425, allocations: 0.9414 MB / 0.9881 GB, free: 19.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)