Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.586/2.586, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 176.9 kB / 360.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.77 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.271e-05, allocations: 0 / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8871, allocations: 115.3 MB / 0.9635 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.124, allocations: 137.4 MB / 1.098 GB, free: 3.082 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.124, allocations: 77.38 kB / 1.098 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006763/1.131, allocations: 1.615 MB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.432e-06/1.131, allocations: 0.5938 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.131, allocations: 1.156 kB / 1.099 GB, free: 1.43 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.0005454/1.131, allocations: 385 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.131, allocations: 8.031 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.131, allocations: 9.109 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/1.132, allocations: 186.2 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.132, allocations: 4 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/1.132, allocations: 4.5 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001214/1.132, allocations: 28.66 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/1.132, allocations: 62.23 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.132, allocations: 4 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.132, allocations: 0.5625 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.132, allocations: 1.938 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/1.133, allocations: 263.3 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/1.133, allocations: 67.22 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/1.133, allocations: 55.95 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/1.133, allocations: 4.562 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/1.133, allocations: 114.3 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.244e-06/1.133, allocations: 0.5 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003806/1.134, allocations: 114.4 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/1.134, allocations: 119.5 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/1.134, allocations: 98 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.134, allocations: 33.69 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/1.134, allocations: 91.3 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/1.134, allocations: 23.73 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/1.134, allocations: 0.6875 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.134, allocations: 323.3 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/1.134, allocations: 31.98 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/1.134, allocations: 93.56 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/1.135, allocations: 47.06 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.135, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003608/1.135, allocations: 150.7 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/1.135, allocations: 29.7 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.135, allocations: 4 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.135, allocations: 4 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.135, allocations: 23.92 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.135, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.135, allocations: 16.22 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.135, allocations: 8 kB / 1.102 GB, free: 14.83 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.000171/1.136, allocations: 162.3 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/1.136, allocations: 7.906 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/1.136, allocations: 12.62 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.136, allocations: 3.938 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.136, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.136, allocations: 5.016 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.136, allocations: 162.1 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.136, allocations: 7.875 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/1.136, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.136, allocations: 3.938 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/1.136, allocations: 6.344 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.136, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.136, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/1.136, allocations: 164.9 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/1.137, allocations: 89.02 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/1.137, allocations: 11.98 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/1.137, allocations: 4 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.137, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/1.137, allocations: 7.984 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.729e-05/1.137, allocations: 87.22 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.137, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003046/1.137, allocations: 20 kB / 1.102 GB, free: 14 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.0001884/1.137, allocations: 112.8 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003233/1.138, allocations: 151.2 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.138, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/1.138, allocations: 179.4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/1.138, allocations: 7.953 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/1.139, allocations: 111.4 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.139, allocations: 0.7001 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.937e-05/1.139, allocations: 5.188 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/1.139, allocations: 11.44 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.976e-06/1.139, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.004197/1.143, allocations: 0.8471 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)