Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001303/0.001303, allocations: 176.3 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009621/0.0009618, allocations: 93.55 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007398/0.00074, allocations: 11.81 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3098, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.002394/0.3123, allocations: 1.12 MB / 0.9006 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.3133, allocations: 272.1 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3134, allocations: 0 / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3135, allocations: 0 / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.3137, allocations: 11.92 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3139, allocations: 35.91 kB / 0.9009 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3141, allocations: 51.84 kB / 0.901 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3142, allocations: 7.984 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3144, allocations: 27.86 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3145, allocations: 31.89 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3146, allocations: 0 / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.3146, allocations: 7.938 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.3147, allocations: 7.984 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3148, allocations: 41.64 kB / 0.9011 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3149, allocations: 39.92 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3149, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3149, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.315, allocations: 0 / 0.9011 GB, free: 63.86 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.0005903/0.3156, allocations: 385.3 kB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3156, allocations: 8.031 kB / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.3157, allocations: 8.844 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3159, allocations: 184.3 kB / 0.9017 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.316, allocations: 4.375 kB / 0.9017 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.316, allocations: 4.375 kB / 0.9017 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3163, allocations: 74.16 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3164, allocations: 8.125 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3164, allocations: 7.938 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3164, allocations: 3.938 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.3167, allocations: 47.97 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.3174, allocations: 284.8 kB / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3177, allocations: 78.42 kB / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3179, allocations: 64.89 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3179, allocations: 0 / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.3183, allocations: 113.1 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.156e-06/0.3183, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007984/0.3191, allocations: 203.4 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3192, allocations: 114.8 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3193, allocations: 109.9 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.3194, allocations: 37.64 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3195, allocations: 84.12 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.3195, allocations: 31.66 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.3196, allocations: 0 / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.3197, allocations: 322.8 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3199, allocations: 43.97 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3202, allocations: 98.62 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.3204, allocations: 89.62 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3205, allocations: 0 / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007068/0.3212, allocations: 211 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3213, allocations: 33.7 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3213, allocations: 0 / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.3213, allocations: 4 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3216, allocations: 27.92 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3216, allocations: 320 / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3218, allocations: 12.28 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3219, allocations: 15.98 kB / 0.9037 GB, free: 60.91 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 ($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.0002183/0.3221, allocations: 175.2 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3222, allocations: 12 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3222, allocations: 12.36 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3223, allocations: 0 / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3223, allocations: 0 / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3223, allocations: 96.88 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.3224, allocations: 8 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3226, allocations: 4 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3227, allocations: 15.92 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007622/0.3234, allocations: 341.9 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006967/0.3242, allocations: 384.6 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002937/0.3245, allocations: 111.9 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.3246, allocations: 91.25 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of Backend: time 1.172e-06/0.3246, allocations: 0 / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009271/0.3255, allocations: 205.7 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000744/0.3263, allocations: 0.6969 MB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.005885/0.3322, allocations: 0.9317 MB / 0.9067 GB, free: 57.7 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)