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.699/1.699, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.001165/0.001164, allocations: 179 kB / 371.8 MB, free: 10.3 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.741/1.741, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009303/0.0009303, allocations: 95.58 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005264, allocations: 10.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6775/0.8959, allocations: 138.3 MB / 1.114 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.8962, allocations: 76.11 kB / 1.115 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00451/0.9007, allocations: 1.623 MB / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9007, allocations: 0 / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9008, allocations: 0 / 1.116 GB, free: 32.07 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.0004323/0.9012, allocations: 395.8 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.9012, allocations: 7.719 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.9013, allocations: 7.719 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.9015, allocations: 196.4 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.9015, allocations: 0 / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.9016, allocations: 7.828 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9017, allocations: 71.08 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9018, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9018, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9018, allocations: 3.844 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.9019, allocations: 45.94 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.9023, allocations: 300.5 kB / 1.117 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.9025, allocations: 72.45 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.9025, allocations: 2.625 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.9027, allocations: 121.4 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.9027, allocations: 3.875 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004494/0.9031, allocations: 293.7 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.9032, allocations: 110 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.9033, allocations: 107.7 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.9033, allocations: 31.53 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.9034, allocations: 87.11 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.9034, allocations: 29.78 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.9034, allocations: 0 / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9036, allocations: 325 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.9036, allocations: 38.55 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.9038, allocations: 102.9 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.9039, allocations: 89.59 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9039, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002806/0.9042, allocations: 207.2 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.9042, allocations: 33.52 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9042, allocations: 3.188 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9043, allocations: 3.781 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.9044, allocations: 26.42 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.9044, allocations: 8.172 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.569e-05/0.9045, allocations: 23 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.9045, allocations: 7.875 kB / 1.119 GB, free: 29.96 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.0001537/0.9047, allocations: 174.7 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.9047, allocations: 7.781 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.9047, allocations: 6.906 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9047, allocations: 3.812 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9047, allocations: 0 / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9048, allocations: 3.953 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.9049, allocations: 180.7 kB / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9049, allocations: 96 / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.905, allocations: 14.69 kB / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.905, allocations: 3.984 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.905, allocations: 7.156 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.905, allocations: 5.719 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.905, allocations: 3.938 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.9054, allocations: 227.5 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.9055, allocations: 90.39 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.9055, allocations: 8.406 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.9056, allocations: 5.438 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.9056, allocations: 8 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.9056, allocations: 5.203 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.9057, allocations: 83.67 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9057, allocations: 0 / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002194/0.9059, allocations: 22.34 kB / 1.12 GB, free: 29.31 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.0001366/0.9061, allocations: 119.3 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.9063, allocations: 171.5 kB / 1.12 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9064, allocations: 0 / 1.12 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.9065, allocations: 188.6 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.9067, allocations: 19.64 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.9071, allocations: 195.9 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.9074, allocations: 0.6875 MB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.9074, allocations: 18.83 kB / 1.121 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.9075, allocations: 11.22 kB / 1.121 GB, free: 28.23 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.9075, allocations: 0 / 1.121 GB, free: 28.23 MB / 0.698 GB Notification: Performance of Templates: time 0.003043/0.9105, allocations: 0.8658 MB / 1.122 GB, free: 28.14 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)