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.653/1.653, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00164/0.001639, allocations: 188.9 kB / 361.4 MB, free: 6.859 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.624/1.624, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.000812/0.000812, allocations: 104.4 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.573e-05, allocations: 8 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7465, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.9407, allocations: 137.5 MB / 1.099 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.9409, allocations: 73.23 kB / 1.099 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004194/0.9451, allocations: 1.611 MB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9452, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9452, allocations: 0 / 1.1 GB, free: 0.6562 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.0004044/0.9456, allocations: 384.9 kB / 1.101 GB, free: 236 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9456, allocations: 8.031 kB / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.9457, allocations: 12.81 kB / 1.101 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.9459, allocations: 193.3 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.9459, allocations: 1.844 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.946, allocations: 4 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.053e-05/0.9461, allocations: 28 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.9462, allocations: 61.67 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.9462, allocations: 0.5312 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.9462, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9462, allocations: 0.5938 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.9466, allocations: 275.7 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.9467, allocations: 59.11 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.9468, allocations: 60.23 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.9469, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.947, allocations: 114.2 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.947, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000231/0.9472, allocations: 110.6 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.9473, allocations: 115.3 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.9474, allocations: 101.7 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9474, allocations: 33.7 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.9475, allocations: 86.02 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.9475, allocations: 31.73 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.9475, allocations: 0.5625 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9477, allocations: 323.6 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.9477, allocations: 28.69 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.9478, allocations: 91.69 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.9479, allocations: 52.09 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9479, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000223/0.9481, allocations: 144.9 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.9482, allocations: 38.47 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9482, allocations: 5.859 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9482, allocations: 4 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.9484, allocations: 31.08 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9484, allocations: 7.938 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.9484, allocations: 4 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.9485, allocations: 11.95 kB / 1.103 GB, free: 14.05 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.0001267/0.9486, allocations: 158.7 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.9486, allocations: 11.91 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.9487, allocations: 12.55 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9487, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9487, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9487, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.9488, allocations: 170 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9488, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.9489, allocations: 11.94 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9489, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.9489, allocations: 4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9489, allocations: 3.984 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9489, allocations: 1.312 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.9491, allocations: 161 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.9492, allocations: 85.02 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.9492, allocations: 10.92 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.9493, allocations: 8 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.9493, allocations: 8 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.9494, allocations: 11.92 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.9494, allocations: 86.25 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9494, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002203/0.9496, allocations: 20 kB / 1.103 GB, free: 13.23 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.0001231/0.9498, allocations: 112.5 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.95, allocations: 147.3 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.95, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.9502, allocations: 178.1 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.9503, allocations: 17.06 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.9506, allocations: 106.8 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.9509, allocations: 0.6968 MB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.951, allocations: 16.59 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.951, allocations: 11.44 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.951, allocations: 0 / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.002803/0.9538, allocations: 0.8326 MB / 1.105 GB, free: 11.09 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)