Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.891/1.891, allocations: 288.3 MB / 303.2 MB, free: 8.254 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.001139/0.001139, allocations: 183.6 kB / 371.8 MB, free: 10.27 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.658/1.658, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0008983/0.0008985, allocations: 86.88 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 14.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001614/0.2937, allocations: 1.179 MB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.2945, allocations: 388.2 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.2946, allocations: 7.938 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.2946, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2948, allocations: 27.89 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.2954, allocations: 201.3 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2956, allocations: 155.7 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.2957, allocations: 8 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.2959, allocations: 159.6 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.2961, allocations: 127.7 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.2961, allocations: 8 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.2962, allocations: 8 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.2963, allocations: 79.78 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.2964, allocations: 65.58 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2966, allocations: 211.7 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2966, allocations: 0 / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2966, allocations: 0 / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2966, allocations: 4 kB / 0.9819 GB, free: 25.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001052/0.2977, allocations: 0.6102 MB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2977, allocations: 12.02 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.2978, allocations: 35.7 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2981, allocations: 250.5 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.2982, allocations: 15.98 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.2982, allocations: 16 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2985, allocations: 151.2 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2985, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.2986, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2986, allocations: 4 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2987, allocations: 43.97 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.2991, allocations: 317.3 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2993, allocations: 142.6 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2994, allocations: 4.375 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004516/0.2998, allocations: 216.1 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.2998, allocations: 0 / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005455/0.3004, allocations: 270.9 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3005, allocations: 59.39 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3007, allocations: 290.8 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.3007, allocations: 41.7 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.3008, allocations: 85.14 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3008, allocations: 47.48 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3009, allocations: 8 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.301, allocations: 334.8 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3012, allocations: 88.17 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.3014, allocations: 144.3 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3016, allocations: 157.7 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3016, allocations: 4 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005781/0.3022, allocations: 407.2 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.3022, allocations: 76.62 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3023, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3023, allocations: 4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3024, allocations: 32.11 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3025, allocations: 4 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.303, allocations: 75.72 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.3031, allocations: 51.98 kB / 0.9858 GB, free: 20.88 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: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001526/0.3032, allocations: 177.6 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3033, allocations: 27.62 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.3033, allocations: 30.25 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3033, allocations: 4 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3034, allocations: 0 / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3034, allocations: 3.984 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.3041, allocations: 0.5567 MB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3041, allocations: 4 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3041, allocations: 8 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3041, allocations: 0 / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3042, allocations: 19.97 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3042, allocations: 0 / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3042, allocations: 0 / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3045, allocations: 328.1 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3047, allocations: 148.7 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3048, allocations: 12 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.305, allocations: 19.98 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.3051, allocations: 15.97 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.3051, allocations: 31.98 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001744/0.3053, allocations: 213.9 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3053, allocations: 0 / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002965/0.3056, allocations: 44 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001525/0.3058, allocations: 124.9 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.3063, allocations: 344 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3063, allocations: 0 / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3064, allocations: 71.89 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3067, allocations: 26.45 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.3074, allocations: 443.3 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3077, allocations: 0.7543 MB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.3078, allocations: 37.42 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3079, allocations: 35.42 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3079, allocations: 0 / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.006812/0.3147, allocations: 3.93 MB / 0.993 GB, free: 13.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)