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.642/1.642, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001088/0.001088, allocations: 184.7 kB / 371.6 MB, free: 3.398 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.645/1.645, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009333/0.0009335, allocations: 91.73 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.278e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9126/1.176, allocations: 139.2 MB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.176, allocations: 76.62 kB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004047/1.181, allocations: 1.618 MB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.183e-06/1.181, allocations: 0.5625 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.181, allocations: 0 / 1.117 GB, free: 43.5 MB / 0.7448 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.0003507/1.181, allocations: 380.8 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.181, allocations: 8.812 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/1.181, allocations: 11.69 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.181, allocations: 182.9 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/1.181, allocations: 7.594 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.181, allocations: 4.562 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/1.181, allocations: 68.25 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.181, allocations: 0 / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.181, allocations: 4.516 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.181, allocations: 0 / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/1.182, allocations: 35.92 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/1.182, allocations: 290 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/1.182, allocations: 66.53 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/1.182, allocations: 58.86 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.182, allocations: 3.984 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/1.182, allocations: 109.3 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/1.182, allocations: 0 / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002514/1.183, allocations: 156.9 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.183, allocations: 118.5 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.702e-05/1.183, allocations: 97.59 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/1.183, allocations: 40.09 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/1.183, allocations: 83.89 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/1.183, allocations: 33.84 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/1.183, allocations: 0 / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.183, allocations: 325.4 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/1.183, allocations: 29.47 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/1.183, allocations: 99.97 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.796e-05/1.183, allocations: 80.5 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.183, allocations: 4.75 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002131/1.183, allocations: 185 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.183, allocations: 33.7 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.183, allocations: 0 / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.183, allocations: 4.281 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.183, allocations: 32.44 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.183, allocations: 3.953 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/1.184, allocations: 18.84 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.184, allocations: 12.58 kB / 1.12 GB, free: 41.05 MB / 0.7448 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 () * 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 9.933e-05/1.184, allocations: 162 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/1.184, allocations: 11.84 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/1.184, allocations: 12.19 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.184, allocations: 0 / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.184, allocations: 0 / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.184, allocations: 7.953 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/1.184, allocations: 186 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.184, allocations: 0.8125 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/1.184, allocations: 7.469 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.184, allocations: 0 / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.184, allocations: 7.625 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.184, allocations: 0 / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.184, allocations: 5.219 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/1.184, allocations: 218 kB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/1.184, allocations: 85.02 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.184, allocations: 10.78 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/1.184, allocations: 4 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/1.184, allocations: 11.45 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/1.185, allocations: 7.938 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.941e-05/1.185, allocations: 87.95 kB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000201/1.185, allocations: 23.5 kB / 1.121 GB, free: 40.25 MB / 0.7448 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/1.185, allocations: 117.6 kB / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002075/1.185, allocations: 159.4 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.185, allocations: 0.5625 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/1.185, allocations: 185.4 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/1.185, allocations: 7.844 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/1.186, allocations: 116.6 kB / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/1.186, allocations: 0.6948 MB / 1.122 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.67e-05/1.186, allocations: 8 kB / 1.122 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/1.186, allocations: 12.19 kB / 1.122 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.186, allocations: 4 kB / 1.122 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.002917/1.189, allocations: 0.869 MB / 1.123 GB, free: 38.55 MB / 0.7448 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)