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.818/1.818, allocations: 288.4 MB / 303.7 MB, free: 8.082 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.001262/0.001262, allocations: 179 kB / 372.3 MB, free: 10.12 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.015/2.015, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.001103/0.001103, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 11.72 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001599/0.2838, allocations: 1.126 MB / 0.9812 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.2843, allocations: 264.2 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2843, allocations: 4 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2845, allocations: 11.86 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.2845, allocations: 15.92 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.2849, allocations: 78.23 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2851, allocations: 196 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.2852, allocations: 17.05 kB / 0.9818 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.2852, allocations: 79.81 kB / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2854, allocations: 99.75 kB / 0.982 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.2854, allocations: 12 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.2855, allocations: 8 kB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.2855, allocations: 75.78 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.2856, allocations: 125.1 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2858, allocations: 183.9 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2858, allocations: 4 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2858, allocations: 0 / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2858, allocations: 0 / 0.9823 GB, free: 25.07 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.0008434/0.2867, allocations: 0.6239 MB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2867, allocations: 8.031 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.2868, allocations: 28.64 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2871, allocations: 258.9 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.2871, allocations: 20.53 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2872, allocations: 24.36 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.2877, allocations: 459.3 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2877, allocations: 192 / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2877, allocations: 7.938 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2877, allocations: 4 kB / 0.9837 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.288, allocations: 319.8 kB / 0.984 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.2885, allocations: 0.574 MB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.2895, allocations: 1.031 MB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.29, allocations: 0.6579 MB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.2901, allocations: 4 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.2906, allocations: 474.2 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.2906, allocations: 0 / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001165/0.2918, allocations: 1.119 MB / 0.9878 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.2918, allocations: 140.5 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.292, allocations: 252.9 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.292, allocations: 33.7 kB / 0.9882 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.2921, allocations: 125.1 kB / 0.9883 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.2922, allocations: 83.14 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.2922, allocations: 7.938 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.2923, allocations: 338.8 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.2926, allocations: 332.7 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.2929, allocations: 430.3 kB / 0.9895 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.2936, allocations: 0.7634 MB / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2936, allocations: 0 / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007643/0.2944, allocations: 0.8251 MB / 0.991 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2944, allocations: 7.938 kB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2944, allocations: 4 kB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2944, allocations: 4.047 kB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2946, allocations: 51.81 kB / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2946, allocations: 4 kB / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.2949, allocations: 31.69 kB / 0.9911 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.2951, allocations: 271.9 kB / 0.9914 GB, free: 15.41 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.0001744/0.2953, allocations: 197.7 kB / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2954, allocations: 35.56 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.2954, allocations: 38.17 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2955, allocations: 4 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.2955, allocations: 0 / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2955, allocations: 0 / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.2971, allocations: 1.706 MB / 0.9933 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2971, allocations: 4 kB / 0.9933 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.2971, allocations: 19.91 kB / 0.9933 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2971, allocations: 4 kB / 0.9933 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.2972, allocations: 23.97 kB / 0.9933 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2972, allocations: 3.938 kB / 0.9933 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2972, allocations: 4 kB / 0.9933 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.298, allocations: 1.118 MB / 0.9944 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.298, allocations: 104.7 kB / 0.9945 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.2981, allocations: 12 kB / 0.9946 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2983, allocations: 12.11 kB / 0.9946 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.2984, allocations: 55.94 kB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/0.2987, allocations: 275.4 kB / 0.9949 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001141/0.2988, allocations: 176.4 kB / 0.995 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2988, allocations: 0 / 0.995 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004308/0.2992, allocations: 60 kB / 0.9951 GB, free: 11.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,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],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001514/0.2994, allocations: 138 kB / 0.9952 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007503/0.3002, allocations: 0.7358 MB / 0.996 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3002, allocations: 4.25 kB / 0.996 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.3006, allocations: 403.7 kB / 0.9963 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.3021, allocations: 319.6 kB / 0.9966 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3033, allocations: 1.026 MB / 0.9976 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3036, allocations: 0.7569 MB / 0.9984 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.3039, allocations: 90.94 kB / 0.9985 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.304, allocations: 67.31 kB / 0.9985 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.304, allocations: 4 kB / 0.9985 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of Templates: time 0.01106/0.3151, allocations: 8.249 MB / 1.007 GB, free: 15.74 MB / 0.6355 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)