Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001407/0.001407, allocations: 186.7 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, 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.0009664/0.0009666, allocations: 104.1 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 11.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001588/0.2703, allocations: 1.13 MB / 0.9818 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.2708, allocations: 260.2 kB / 0.9821 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.2709, allocations: 0 / 0.9821 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.271, allocations: 19.86 kB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.2711, allocations: 11.92 kB / 0.9821 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2714, allocations: 79.84 kB / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.2716, allocations: 199.9 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.2717, allocations: 9.125 kB / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.2718, allocations: 79.81 kB / 0.9825 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2719, allocations: 99.75 kB / 0.9826 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.272, allocations: 8 kB / 0.9826 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.272, allocations: 12 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.2721, allocations: 79.78 kB / 0.9827 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2722, allocations: 121.1 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2724, allocations: 183.9 kB / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2724, allocations: 0 / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.586e-06/0.2724, allocations: 0 / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2724, allocations: 3.938 kB / 0.9829 GB, free: 25.09 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009117/0.2733, allocations: 0.6161 MB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2734, allocations: 12.03 kB / 0.9836 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.2735, allocations: 32.64 kB / 0.9836 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2738, allocations: 258.8 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.2738, allocations: 16.59 kB / 0.9839 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.2738, allocations: 24.36 kB / 0.9839 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.2743, allocations: 459.3 kB / 0.9843 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2744, allocations: 192 / 0.9843 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.2744, allocations: 11.94 kB / 0.9843 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2744, allocations: 4 kB / 0.9843 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.2747, allocations: 323.8 kB / 0.9846 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.2753, allocations: 0.5662 MB / 0.9852 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009661/0.2762, allocations: 1.03 MB / 0.9862 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.2768, allocations: 0.6554 MB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.2769, allocations: 7.984 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005918/0.2775, allocations: 474.2 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.2775, allocations: 4 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001228/0.2787, allocations: 1.119 MB / 0.9884 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.2788, allocations: 140.5 kB / 0.9885 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.279, allocations: 248.9 kB / 0.9888 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.279, allocations: 41.64 kB / 0.9888 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.2791, allocations: 125.1 kB / 0.9889 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.2792, allocations: 75.14 kB / 0.989 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.2792, allocations: 12 kB / 0.989 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.2793, allocations: 338.8 kB / 0.9893 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.2796, allocations: 328.7 kB / 0.9896 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.2799, allocations: 430.3 kB / 0.9901 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.2806, allocations: 0.7596 MB / 0.9908 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2806, allocations: 8 kB / 0.9908 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007926/0.2814, allocations: 0.8226 MB / 0.9916 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2814, allocations: 8 kB / 0.9916 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2814, allocations: 3.938 kB / 0.9916 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2815, allocations: 8 kB / 0.9916 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2817, allocations: 43.83 kB / 0.9917 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2817, allocations: 8 kB / 0.9917 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.2819, allocations: 35.75 kB / 0.9917 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.2822, allocations: 268 kB / 0.992 GB, free: 15.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0001811/0.2824, allocations: 197.7 kB / 0.9922 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2824, allocations: 27.62 kB / 0.9922 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.2825, allocations: 42.11 kB / 0.9922 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2825, allocations: 0 / 0.9922 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2825, allocations: 4 kB / 0.9922 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.2826, allocations: 100.8 kB / 0.9923 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.2826, allocations: 11.98 kB / 0.9923 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2827, allocations: 12 kB / 0.9923 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2829, allocations: 47.94 kB / 0.9924 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009372/0.2838, allocations: 1.137 MB / 0.9935 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008535/0.2847, allocations: 1.199 MB / 0.9947 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003613/0.285, allocations: 387.9 kB / 0.995 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001219/0.2852, allocations: 172.5 kB / 0.9952 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of Backend: time 9.72e-07/0.2852, allocations: 3.938 kB / 0.9952 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009723/0.2862, allocations: 498 kB / 0.9957 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001398/0.2876, allocations: 1.063 MB / 0.9967 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.009611/0.2972, allocations: 6.445 MB / 1.003 GB, free: 4.078 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)