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.507/2.507, allocations: 284.8 MB / 297.3 MB, free: 6.371 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.001491/0.001491, allocations: 180.8 kB / 365.7 MB, free: 2.566 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.013/2.013, allocations: 205.1 MB / 0.6241 GB, free: 8.191 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.001059/0.001059, allocations: 94.17 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.66e-05, allocations: 4 kB / 0.8575 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8094, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/1.05, allocations: 138 MB / 1.105 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.051, allocations: 75.95 kB / 1.105 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006889/1.058, allocations: 1.625 MB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/1.058, allocations: 0 / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.058, allocations: 4 kB / 1.106 GB, free: 12.72 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.0004836/1.058, allocations: 381.8 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.058, allocations: 10.28 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/1.058, allocations: 9.109 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/1.058, allocations: 179 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/1.059, allocations: 4 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.059, allocations: 3.938 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/1.059, allocations: 73.7 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.059, allocations: 0 / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.059, allocations: 0 / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.059, allocations: 0 / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/1.059, allocations: 40.45 kB / 1.107 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/1.06, allocations: 289.1 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.06, allocations: 66.58 kB / 1.107 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/1.06, allocations: 52.89 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.06, allocations: 4.906 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/1.06, allocations: 120 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/1.06, allocations: 0 / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003847/1.06, allocations: 155.4 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/1.061, allocations: 107.5 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.061, allocations: 113.1 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.061, allocations: 29.7 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/1.061, allocations: 92.05 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/1.061, allocations: 23.73 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.061, allocations: 6.625 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.061, allocations: 324.3 kB / 1.108 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/1.061, allocations: 28 kB / 1.108 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/1.061, allocations: 101.3 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/1.061, allocations: 78.23 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.061, allocations: 0 / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004141/1.062, allocations: 199 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/1.062, allocations: 35.11 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.062, allocations: 4 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.062, allocations: 3.953 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/1.062, allocations: 31.92 kB / 1.109 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.062, allocations: 4 kB / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.062, allocations: 8.078 kB / 1.109 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/1.062, allocations: 12 kB / 1.109 GB, free: 9.93 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.0001802/1.063, allocations: 166.7 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/1.063, allocations: 7.906 kB / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/1.063, allocations: 12.62 kB / 1.109 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.063, allocations: 3.938 kB / 1.109 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.063, allocations: 6.953 kB / 1.109 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.063, allocations: 0 / 1.109 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/1.063, allocations: 185.6 kB / 1.109 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.063, allocations: 0 / 1.109 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/1.063, allocations: 8 kB / 1.109 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.063, allocations: 0 / 1.109 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.063, allocations: 7.984 kB / 1.109 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/1.063, allocations: 3.984 kB / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.063, allocations: 0 / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/1.064, allocations: 218.7 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/1.064, allocations: 81.02 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/1.064, allocations: 15.98 kB / 1.11 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.064, allocations: 8 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/1.064, allocations: 3.938 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.064, allocations: 11.98 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.192e-05/1.064, allocations: 93.98 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.064, allocations: 0 / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002978/1.064, allocations: 24 kB / 1.11 GB, free: 8.992 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.0001646/1.065, allocations: 115.2 kB / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003669/1.065, allocations: 151.3 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.065, allocations: 0 / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/1.065, allocations: 183.4 kB / 1.11 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/1.065, allocations: 8 kB / 1.11 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/1.066, allocations: 115.8 kB / 1.11 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.066, allocations: 0.7009 MB / 1.111 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.138e-05/1.066, allocations: 8.672 kB / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/1.066, allocations: 15.42 kB / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/1.066, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.00431/1.071, allocations: 0.8766 MB / 1.112 GB, free: 6.801 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)