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.753/1.753, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.001155/0.001155, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.757/1.757, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0008711/0.0008711, allocations: 86.31 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004564, allocations: 15.95 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.0009753/0.2402, allocations: 0.5679 MB / 0.9813 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2416, allocations: 1.286 MB / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.2417, allocations: 0 / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.281e-05/0.2418, allocations: 3.938 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2419, allocations: 31.78 kB / 0.9826 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.2425, allocations: 236 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.2427, allocations: 227.5 kB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2429, allocations: 36.83 kB / 0.9831 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.243, allocations: 111.7 kB / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2432, allocations: 99.67 kB / 0.9833 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2432, allocations: 15.94 kB / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.2433, allocations: 23.98 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.2433, allocations: 31.91 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.2435, allocations: 113.4 kB / 0.9835 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.2436, allocations: 183.8 kB / 0.9836 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2436, allocations: 8 kB / 0.9836 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2436, allocations: 0 / 0.9836 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2437, allocations: 0 / 0.9836 GB, free: 24.37 MB / 0.6198 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.0007276/0.2444, allocations: 494.7 kB / 0.9841 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2444, allocations: 12.03 kB / 0.9841 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.2445, allocations: 20.75 kB / 0.9841 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.2447, allocations: 229.8 kB / 0.9844 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.2448, allocations: 16.36 kB / 0.9844 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.2448, allocations: 20.38 kB / 0.9844 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2452, allocations: 188.6 kB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2452, allocations: 4.125 kB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.2452, allocations: 3.938 kB / 0.9846 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2452, allocations: 7.938 kB / 0.9846 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2455, allocations: 100.1 kB / 0.9847 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.246, allocations: 472.6 kB / 0.9851 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2463, allocations: 142.4 kB / 0.9853 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2464, allocations: 98.5 kB / 0.9854 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2464, allocations: 0 / 0.9854 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.2467, allocations: 212 kB / 0.9856 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.2467, allocations: 0 / 0.9856 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.0007126/0.2475, allocations: 456.8 kB / 0.986 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2475, allocations: 63.39 kB / 0.9861 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.2476, allocations: 142.7 kB / 0.9862 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.2476, allocations: 45.7 kB / 0.9862 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.2477, allocations: 96.59 kB / 0.9863 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.2477, allocations: 71.17 kB / 0.9864 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.2478, allocations: 12 kB / 0.9864 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.2478, allocations: 335 kB / 0.9867 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.2481, allocations: 148.7 kB / 0.9869 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.2484, allocations: 209.2 kB / 0.9871 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.2488, allocations: 370.3 kB / 0.9874 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2488, allocations: 0 / 0.9874 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007056/0.2495, allocations: 0.4939 MB / 0.9879 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.2496, allocations: 71.39 kB / 0.988 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2496, allocations: 0 / 0.988 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2496, allocations: 4 kB / 0.988 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2498, allocations: 47.91 kB / 0.988 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2499, allocations: 7.938 kB / 0.988 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.2502, allocations: 97.25 kB / 0.9881 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.2503, allocations: 23.92 kB / 0.9882 GB, free: 19.43 MB / 0.6198 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 (39): * Single equations (assignments): 35 * Array equations: 2 * 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.0001341/0.2504, allocations: 169.8 kB / 0.9883 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2505, allocations: 19.75 kB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2505, allocations: 13.88 kB / 0.9883 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2505, allocations: 3.984 kB / 0.9884 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2505, allocations: 0 / 0.9884 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.2506, allocations: 92.86 kB / 0.9884 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.2506, allocations: 23.92 kB / 0.9885 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.2507, allocations: 7.984 kB / 0.9885 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.2508, allocations: 19.98 kB / 0.9885 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005002/0.2513, allocations: 432.8 kB / 0.9889 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004812/0.2518, allocations: 0.5256 MB / 0.9894 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001611/0.2519, allocations: 112.8 kB / 0.9895 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.252, allocations: 104.5 kB / 0.9896 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of Backend: time 6.62e-07/0.252, allocations: 0 / 0.9896 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007822/0.2528, allocations: 456.9 kB / 0.9901 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006236/0.2534, allocations: 0.7534 MB / 0.9908 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.005797/0.2592, allocations: 3.431 MB / 0.9941 GB, free: 13.2 MB / 0.6198 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)