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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.511/1.511, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001203/0.001203, allocations: 184.2 kB / 376.9 MB, free: 1.828 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.268/1.268, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 103.4 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009626, allocations: 55.86 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2527, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.002909/0.2556, allocations: 1.45 MB / 0.9837 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.2563, allocations: 284 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.2564, allocations: 0 / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.2565, allocations: 3.938 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2567, allocations: 19.91 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2569, allocations: 23.98 kB / 0.984 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.257, allocations: 59.78 kB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.2571, allocations: 7.984 kB / 0.984 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2572, allocations: 23.88 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2574, allocations: 31.89 kB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2574, allocations: 0 / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.2574, allocations: 4 kB / 0.9841 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.2575, allocations: 19.92 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.2575, allocations: 19.88 kB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2576, allocations: 64.11 kB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2576, allocations: 0 / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2577, allocations: 3.938 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2577, allocations: 3.938 kB / 0.9842 GB, free: 8.328 MB / 0.7136 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.00052/0.2582, allocations: 389 kB / 0.9846 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2582, allocations: 12.03 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.2583, allocations: 12.84 kB / 0.9846 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2585, allocations: 176.3 kB / 0.9848 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.2585, allocations: 8.359 kB / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2585, allocations: 384 / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2587, allocations: 70.23 kB / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2587, allocations: 192 / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2587, allocations: 3.938 kB / 0.9848 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2588, allocations: 0 / 0.9848 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2589, allocations: 43.97 kB / 0.9849 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.2593, allocations: 284.8 kB / 0.9852 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2594, allocations: 74.42 kB / 0.9852 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.2595, allocations: 57 kB / 0.9853 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2596, allocations: 3.938 kB / 0.9853 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.2598, allocations: 125 kB / 0.9854 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2598, allocations: 0 / 0.9854 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000403/0.2602, allocations: 199.2 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.2603, allocations: 114.8 kB / 0.9857 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.2603, allocations: 109.8 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2604, allocations: 29.7 kB / 0.9858 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.2604, allocations: 100 kB / 0.9859 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2605, allocations: 19.72 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.2605, allocations: 41.7 kB / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.2606, allocations: 326.8 kB / 0.9863 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.2607, allocations: 39.97 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2608, allocations: 107.1 kB / 0.9864 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.2611, allocations: 211.8 kB / 0.9866 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2611, allocations: 3.938 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003038/0.2614, allocations: 199.3 kB / 0.9868 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2614, allocations: 33.73 kB / 0.9869 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2615, allocations: 4 kB / 0.9869 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2615, allocations: 4 kB / 0.9869 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2616, allocations: 27.92 kB / 0.9869 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2616, allocations: 4 kB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.2617, allocations: 15.83 kB / 0.9869 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2617, allocations: 12 kB / 0.9869 GB, free: 5.184 MB / 0.7136 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 0.0001396/0.2619, allocations: 180.1 kB / 0.9871 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2619, allocations: 11.84 kB / 0.9871 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.2619, allocations: 4.375 kB / 0.9871 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2619, allocations: 0 / 0.9871 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2619, allocations: 0 / 0.9871 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2619, allocations: 7.984 kB / 0.9871 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2621, allocations: 185.6 kB / 0.9873 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2621, allocations: 0 / 0.9873 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.2621, allocations: 4 kB / 0.9873 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2621, allocations: 0 / 0.9873 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2622, allocations: 11.98 kB / 0.9873 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2622, allocations: 0 / 0.9873 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2622, allocations: 0 / 0.9873 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.2628, allocations: 0.8246 MB / 0.9881 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.2629, allocations: 81.02 kB / 0.9882 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2629, allocations: 8 kB / 0.9882 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.263, allocations: 11.98 kB / 0.9882 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.263, allocations: 7.938 kB / 0.9882 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.2631, allocations: 4 kB / 0.9882 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.2631, allocations: 91.27 kB / 0.9883 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2631, allocations: 3.938 kB / 0.9883 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003224/0.2634, allocations: 20 kB / 0.9883 GB, free: 3.586 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001313/0.2636, allocations: 123.3 kB / 0.9885 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.2639, allocations: 167.3 kB / 0.9886 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2639, allocations: 0 / 0.9886 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2641, allocations: 183.2 kB / 0.9888 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2643, allocations: 11.98 kB / 0.9888 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2648, allocations: 334.2 kB / 0.9891 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.265, allocations: 0.6887 MB / 0.9898 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.2651, allocations: 12.66 kB / 0.9898 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.2651, allocations: 15.44 kB / 0.9898 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.2651, allocations: 0 / 0.9898 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of Templates: time 0.003153/0.2683, allocations: 0.9399 MB / 0.9907 GB, free: 1.043 MB / 0.7136 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)