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.685/1.685, allocations: 285.4 MB / 298 MB, free: 5.973 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.001539/0.001539, allocations: 184.8 kB / 366.4 MB, free: 2.094 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.765/1.765, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008014/0.0008013, allocations: 97.98 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.908e-05, allocations: 0 / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7536, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.9543, allocations: 138.2 MB / 1.106 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.9546, allocations: 78.3 kB / 1.106 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004517/0.9591, allocations: 1.617 MB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9592, allocations: 1.781 kB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9592, allocations: 4 kB / 1.108 GB, free: 11.95 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.0004392/0.9596, allocations: 386.2 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9597, allocations: 12.03 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.9597, allocations: 7.906 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.96, allocations: 186.9 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.96, allocations: 4 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.96, allocations: 4 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.9602, allocations: 70.19 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9602, allocations: 0 / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9602, allocations: 0 / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.9602, allocations: 0 / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.9603, allocations: 39.92 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.9608, allocations: 295.3 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.9609, allocations: 58.58 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.961, allocations: 60.89 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.961, allocations: 0 / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.9611, allocations: 117 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.9612, allocations: 0 / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002771/0.9614, allocations: 148.6 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.9615, allocations: 114.8 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.9616, allocations: 104 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.9617, allocations: 29.7 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.9617, allocations: 96.56 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.9618, allocations: 24.42 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.9618, allocations: 4 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9619, allocations: 329.2 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.962, allocations: 28 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.9621, allocations: 106.5 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.9622, allocations: 70.86 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9622, allocations: 0 / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002959/0.9625, allocations: 206.7 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.9625, allocations: 29.7 kB / 1.11 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.9626, allocations: 4 kB / 1.11 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.9626, allocations: 4 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.9627, allocations: 23.92 kB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.9627, allocations: 7.953 kB / 1.11 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.9628, allocations: 15.98 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.9628, allocations: 7.156 kB / 1.11 GB, free: 9.148 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 ($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 0.0001218/0.963, allocations: 164.1 kB / 1.11 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.963, allocations: 11.84 kB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.963, allocations: 8.625 kB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.963, allocations: 2.438 kB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.963, allocations: 0 / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9631, allocations: 8.219 kB / 1.11 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.9632, allocations: 185.6 kB / 1.11 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9632, allocations: 0 / 1.11 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.9633, allocations: 9.438 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9633, allocations: 0 / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.9633, allocations: 7.984 kB / 1.11 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9633, allocations: 4 kB / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9633, allocations: 0 / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.9636, allocations: 218.2 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.9637, allocations: 81.02 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.9637, allocations: 15.98 kB / 1.111 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.9638, allocations: 4 kB / 1.111 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.9638, allocations: 11.86 kB / 1.111 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.9638, allocations: 5.438 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.9639, allocations: 87.28 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9639, allocations: 0 / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002202/0.9641, allocations: 24 kB / 1.111 GB, free: 8.223 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) * 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.0001431/0.9643, allocations: 116.3 kB / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.9645, allocations: 163.2 kB / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9645, allocations: 0 / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.9647, allocations: 179.4 kB / 1.111 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.9649, allocations: 8.547 kB / 1.111 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.9652, allocations: 118.6 kB / 1.111 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.9654, allocations: 0.6968 MB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.9655, allocations: 12.64 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.9655, allocations: 11.44 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/0.9655, allocations: 0 / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.002932/0.9684, allocations: 0.8687 MB / 1.113 GB, free: 6.031 MB / 0.7136 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)