Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.37/2.37, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.00153, allocations: 184.9 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 88 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006794/0.0006794, allocations: 9.531 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2243, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.4507, allocations: 131.9 MB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.451, allocations: 79.95 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00728/0.4584, allocations: 1.656 MB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4584, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.4584, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.6823 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.0005405/0.459, allocations: 400.8 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.459, allocations: 12.03 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.4591, allocations: 7.906 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4593, allocations: 183.1 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4594, allocations: 8 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.4594, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.4597, allocations: 73.66 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4597, allocations: 3.938 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.4597, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4597, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4599, allocations: 51.91 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.4605, allocations: 288.8 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.4607, allocations: 75.41 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4608, allocations: 4 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.461, allocations: 121 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.255e-06/0.461, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007038/0.4618, allocations: 288.4 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.4619, allocations: 122.9 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.462, allocations: 104.9 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.462, allocations: 33.7 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.4621, allocations: 91.98 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.4621, allocations: 23.78 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.4622, allocations: 8 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4623, allocations: 318.8 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4625, allocations: 35.98 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.4627, allocations: 113.5 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4629, allocations: 77.69 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.4629, allocations: 4 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005243/0.4635, allocations: 211 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.4635, allocations: 33.69 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4635, allocations: 4 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.4636, allocations: 7.953 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4638, allocations: 23.98 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.4638, allocations: 7.938 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4639, allocations: 11.94 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.464, allocations: 8.188 kB / 1.032 GB, free: 8.582 MB / 0.6823 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.0002412/0.4642, allocations: 175.3 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.4643, allocations: 7.906 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.4643, allocations: 4.375 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4643, allocations: 8.047 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4643, allocations: 3.984 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4644, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.4646, allocations: 189.5 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4646, allocations: 4 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.4646, allocations: 7.984 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4647, allocations: 0 / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4647, allocations: 8 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4647, allocations: 0 / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4647, allocations: 3.953 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.4653, allocations: 230.7 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.4654, allocations: 89 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.4654, allocations: 4 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.4655, allocations: 8 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.4656, allocations: 7.984 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4656, allocations: 7.953 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.803e-05/0.4657, allocations: 87.27 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4657, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003229/0.466, allocations: 24 kB / 1.033 GB, free: 7.621 MB / 0.6823 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.00016/0.4662, allocations: 118.1 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.4667, allocations: 173 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4667, allocations: 0.5625 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.467, allocations: 199.2 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.4673, allocations: 11.98 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.4678, allocations: 193.1 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4682, allocations: 0.6965 MB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.4683, allocations: 4.672 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.4684, allocations: 15.42 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.4684, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of Templates: time 0.004917/0.4733, allocations: 0.8603 MB / 1.035 GB, free: 5.285 MB / 0.6823 GB