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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 110.2 kB / 16.38 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001796, allocations: 190.7 kB / 17.31 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 83.02 kB / 0.673 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2091, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.002451/0.2116, allocations: 1.384 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005141/0.2122, allocations: 280 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.2122, allocations: 0 / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.2123, allocations: 3.938 kB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2125, allocations: 11.88 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2126, allocations: 35.89 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2127, allocations: 71.78 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.2128, allocations: 11.92 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.2129, allocations: 27.92 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.213, allocations: 27.91 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2131, allocations: 4 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.2131, allocations: 4 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2131, allocations: 19.97 kB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.2132, allocations: 27.81 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2133, allocations: 55.84 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2133, allocations: 0 / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2133, allocations: 0 / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2133, allocations: 3.938 kB / 0.7867 GB, free: 1.164 MB / 0.6544 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.0005028/0.2138, allocations: 401 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2139, allocations: 8.031 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2139, allocations: 12.84 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2141, allocations: 176.3 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2141, allocations: 4.375 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2141, allocations: 4.375 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2143, allocations: 70.22 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2143, allocations: 192 / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2143, allocations: 11.88 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2143, allocations: 0 / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2145, allocations: 39.97 kB / 0.7874 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.2149, allocations: 288.7 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.353/0.5679, allocations: 70.3 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.5681, allocations: 58.12 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.5681, allocations: 2.719 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.5683, allocations: 111.8 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 3.126e-06/0.5683, allocations: 0 / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003909/0.5687, allocations: 200.3 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5688, allocations: 115.5 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.5688, allocations: 115.1 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5689, allocations: 28.33 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.5689, allocations: 93.97 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.5689, allocations: 27.81 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.569, allocations: 31.03 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.569, allocations: 321.1 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.5691, allocations: 39.61 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.5692, allocations: 107.3 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.5694, allocations: 212.5 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5694, allocations: 2.312 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002524/0.5697, allocations: 200 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5697, allocations: 38.44 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5697, allocations: 4.672 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5697, allocations: 4.969 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5699, allocations: 25.38 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5699, allocations: 6.156 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.57, allocations: 13.31 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.57, allocations: 11.22 kB / 0.7895 GB, free: 47.64 MB / 0.6544 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 9.565e-05/0.5701, allocations: 174.3 kB / 0.7896 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.5701, allocations: 5.438 kB / 0.7896 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.5701, allocations: 14.62 kB / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5701, allocations: 0 / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.5702, allocations: 0 / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5702, allocations: 83.7 kB / 0.7897 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.5702, allocations: 8.5 kB / 0.7897 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.5703, allocations: 13.62 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.5703, allocations: 5.875 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003008/0.5706, allocations: 341.6 kB / 0.7901 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003042/0.5709, allocations: 375.4 kB / 0.7904 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001078/0.5711, allocations: 108.8 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.5711, allocations: 89.22 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Backend: time 1.563e-06/0.5711, allocations: 0.5 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.5715, allocations: 211.1 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004188/0.572, allocations: 0.6689 MB / 0.7915 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.003154/0.5751, allocations: 1.033 MB / 0.7925 GB, free: 46.1 MB / 0.6544 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)