Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.0009605/0.0009605, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.441/1.441, allocations: 205.4 MB / 0.6317 GB, free: 9.922 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.0008793/0.0008793, allocations: 86.31 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003725, allocations: 15.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5712/0.7621, allocations: 138.3 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.7623, allocations: 78.59 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004224/0.7665, allocations: 1.638 MB / 1.117 GB, free: 32.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7666, allocations: 2.156 kB / 1.117 GB, free: 32.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7666, allocations: 7.062 kB / 1.117 GB, free: 32.03 MB / 0.698 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.0003557/0.7669, allocations: 388.2 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.767, allocations: 7.719 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.767, allocations: 9.656 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7672, allocations: 184.7 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.7672, allocations: 7.438 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7672, allocations: 384 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.7674, allocations: 75.66 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7674, allocations: 192 / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7674, allocations: 10.72 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.7674, allocations: 0 / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.7675, allocations: 41.02 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.7679, allocations: 292.3 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.768, allocations: 77.23 kB / 1.119 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.7681, allocations: 62.14 kB / 1.119 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.7681, allocations: 0 / 1.119 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.7683, allocations: 115.9 kB / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.7683, allocations: 0 / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003423/0.7686, allocations: 198.5 kB / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.7687, allocations: 116.8 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.7688, allocations: 119.7 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.7688, allocations: 30.45 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.7688, allocations: 91.3 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.7689, allocations: 27.06 kB / 1.119 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.7689, allocations: 2.938 kB / 1.119 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.769, allocations: 322.7 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7691, allocations: 37.84 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.7692, allocations: 104.7 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.7694, allocations: 212.3 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7694, allocations: 3.938 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002663/0.7697, allocations: 207.9 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7697, allocations: 37.36 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7697, allocations: 1.125 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7697, allocations: 3.844 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.7699, allocations: 22.44 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7699, allocations: 13.2 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.7699, allocations: 17.02 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.77, allocations: 11.19 kB / 1.12 GB, free: 29.88 MB / 0.698 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.0001135/0.7701, allocations: 175 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.7701, allocations: 13.61 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.7701, allocations: 8.062 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7701, allocations: 7.875 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7701, allocations: 0 / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7702, allocations: 0 / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.7703, allocations: 185.3 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7703, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.7703, allocations: 5.406 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7703, allocations: 3.906 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7703, allocations: 4.594 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7703, allocations: 3.781 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7704, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.7706, allocations: 233.6 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.7707, allocations: 81.95 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.7707, allocations: 9.719 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.7708, allocations: 8.875 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.7708, allocations: 8.719 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7708, allocations: 0 / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.7709, allocations: 96.83 kB / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7709, allocations: 0 / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002065/0.7711, allocations: 22.88 kB / 1.121 GB, free: 29.23 MB / 0.698 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 (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.0001092/0.7712, allocations: 112.8 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.7715, allocations: 177.6 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.7715, allocations: 0 / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7716, allocations: 180.9 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.7718, allocations: 17.62 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.7721, allocations: 191.9 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.7724, allocations: 0.6988 MB / 1.122 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.7724, allocations: 7.375 kB / 1.122 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.7725, allocations: 11.31 kB / 1.122 GB, free: 28.15 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7725, allocations: 0 / 1.122 GB, free: 28.15 MB / 0.698 GB Notification: Performance of Templates: time 0.002547/0.775, allocations: 0.8678 MB / 1.123 GB, free: 28.05 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)