Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.921/1.921, allocations: 287.4 MB / 303.2 MB, free: 8.246 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.001028/0.001028, allocations: 172.6 kB / 371.8 MB, free: 10.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.618/1.618, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007639/0.0007639, allocations: 97.03 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005727, allocations: 10.95 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2112, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001227/0.2125, allocations: 1.103 MB / 0.9804 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00044/0.213, allocations: 268.2 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.213, allocations: 0 / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.333e-05/0.2131, allocations: 3.938 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2132, allocations: 7.938 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.2134, allocations: 23.97 kB / 0.9807 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.2135, allocations: 63.78 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.2136, allocations: 7.984 kB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.2136, allocations: 27.91 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2137, allocations: 19.92 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2138, allocations: 4 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2138, allocations: 0 / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.2138, allocations: 15.86 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.2139, allocations: 37.7 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.045e-05/0.2139, allocations: 44.17 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2139, allocations: 4 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2139, allocations: 0 / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.214, allocations: 0 / 0.9809 GB, free: 26.53 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.0003578/0.2143, allocations: 384.9 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2144, allocations: 8.031 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2144, allocations: 4.938 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2145, allocations: 188.2 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2145, allocations: 4.375 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2146, allocations: 4.375 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2147, allocations: 70.23 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2147, allocations: 192 / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2148, allocations: 3.938 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2148, allocations: 0 / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.2149, allocations: 47.91 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2152, allocations: 288.9 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.2153, allocations: 70.5 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.2154, allocations: 60.89 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2155, allocations: 8 kB / 0.982 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2156, allocations: 117 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.2156, allocations: 0 / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003232/0.216, allocations: 199.4 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.216, allocations: 122.8 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.562e-05/0.2161, allocations: 105.8 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2161, allocations: 33.7 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.2161, allocations: 91.98 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2162, allocations: 27.78 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.2162, allocations: 0 / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.2162, allocations: 318.8 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.2163, allocations: 39.97 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.2164, allocations: 114.4 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.2166, allocations: 219.9 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2166, allocations: 0 / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002593/0.2169, allocations: 206.9 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2169, allocations: 37.69 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2169, allocations: 4.281 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2169, allocations: 8 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.217, allocations: 23.92 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.217, allocations: 7.938 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.2171, allocations: 15.88 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2171, allocations: 12 kB / 0.9836 GB, free: 23.41 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.0001039/0.2172, allocations: 171.4 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.2173, allocations: 11.91 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.2173, allocations: 8.375 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2173, allocations: 0 / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2173, allocations: 0 / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.2173, allocations: 81.02 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2174, allocations: 15.98 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.2174, allocations: 8 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.2175, allocations: 7.938 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003116/0.2178, allocations: 353.9 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002803/0.2181, allocations: 376.5 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.2182, allocations: 116 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.2183, allocations: 83.28 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of Backend: time 3.2e-07/0.2183, allocations: 0 / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.2187, allocations: 210.5 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004511/0.2192, allocations: 0.6892 MB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.002714/0.2219, allocations: 0.9327 MB / 0.9866 GB, free: 20.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)