Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.86/1.86, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.00121/0.00121, allocations: 182.1 kB / 371.8 MB, free: 10.26 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.742/1.742, allocations: 205.4 MB / 0.6306 GB, free: 9.941 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.000918/0.000918, allocations: 82.88 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 15.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2585, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.849/1.108, allocations: 138.7 MB / 1.115 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.108, allocations: 77.33 kB / 1.115 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01663/1.124, allocations: 5.518 MB / 1.12 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.629e-06/1.125, allocations: 3.844 kB / 1.12 GB, free: 31.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.993e-05/1.125, allocations: 0 / 1.12 GB, free: 31.84 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001284/1.126, allocations: 0.4985 MB / 1.121 GB, free: 31.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.126, allocations: 15.62 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/1.126, allocations: 25.8 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/1.127, allocations: 233.5 kB / 1.121 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/1.127, allocations: 18.58 kB / 1.121 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/1.127, allocations: 19.28 kB / 1.121 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/1.128, allocations: 197.1 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/1.128, allocations: 0 / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/1.128, allocations: 7.078 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.128, allocations: 3.812 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/1.128, allocations: 99.98 kB / 1.121 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/1.129, allocations: 489.1 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.129, allocations: 137.8 kB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.129, allocations: 11.95 kB / 1.122 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/1.13, allocations: 218.5 kB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/1.13, allocations: 0 / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0009824/1.131, allocations: 477.8 kB / 1.123 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/1.131, allocations: 58.72 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.131, allocations: 123.3 kB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/1.131, allocations: 42.86 kB / 1.123 GB, free: 30.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/1.131, allocations: 105.7 kB / 1.123 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/1.131, allocations: 65.28 kB / 1.123 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.131, allocations: 10.72 kB / 1.123 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.131, allocations: 337.1 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/1.132, allocations: 139.9 kB / 1.124 GB, free: 30.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/1.132, allocations: 205.8 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/1.132, allocations: 213.9 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.132, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007872/1.133, allocations: 495 kB / 1.124 GB, free: 29.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/1.133, allocations: 69.33 kB / 1.124 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.133, allocations: 4.125 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.133, allocations: 3.969 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/1.134, allocations: 61.02 kB / 1.125 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/1.134, allocations: 11.73 kB / 1.125 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/1.134, allocations: 100.7 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/1.134, allocations: 21.48 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * 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.0002188/1.134, allocations: 163.1 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/1.134, allocations: 22.16 kB / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/1.134, allocations: 9.25 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.134, allocations: 3.875 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.134, allocations: 0 / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.134, allocations: 6.812 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007844/1.135, allocations: 0.69 MB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.135, allocations: 4 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/1.135, allocations: 6.875 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.135, allocations: 3.844 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/1.135, allocations: 7.516 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.135, allocations: 0 / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.135, allocations: 10.72 kB / 1.126 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/1.136, allocations: 472.9 kB / 1.126 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/1.136, allocations: 88.67 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/1.136, allocations: 22.88 kB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.136, allocations: 9.688 kB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.136, allocations: 19.84 kB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/1.136, allocations: 24.31 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.272e-05/1.136, allocations: 100.2 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.136, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003938/1.137, allocations: 79.23 kB / 1.126 GB, free: 28.9 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: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[3],triMovMea.ySample[2],triMovMea.ySample[1],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0002555/1.137, allocations: 140.9 kB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007933/1.138, allocations: 466.5 kB / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.138, allocations: 0 / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/1.138, allocations: 127.3 kB / 1.127 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1.138, allocations: 23.39 kB / 1.127 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/1.139, allocations: 342.5 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/1.139, allocations: 0.7217 MB / 1.128 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.875e-05/1.139, allocations: 22.78 kB / 1.128 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/1.14, allocations: 21.55 kB / 1.128 GB, free: 27.74 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/1.14, allocations: 0 / 1.128 GB, free: 27.74 MB / 0.698 GB Notification: Performance of Templates: time 0.006947/1.147, allocations: 3.322 MB / 1.131 GB, free: 27 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe 2>&1)