Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001314/0.001314, allocations: 181.6 kB / 371 MB, free: 10.87 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.259/2.259, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009273/0.0009274, allocations: 99.77 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 15 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2706, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002602/0.2732, allocations: 1.186 MB / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.275, allocations: 412 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.2751, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.2752, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2754, allocations: 15.92 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2769, allocations: 218.9 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.2774, allocations: 243.5 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.2775, allocations: 4 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.2783, allocations: 223.6 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.2787, allocations: 127.7 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.2789, allocations: 8 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2791, allocations: 8 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.2793, allocations: 83.77 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2795, allocations: 65.58 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.2799, allocations: 203.9 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2799, allocations: 0 / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2799, allocations: 4 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.2799, allocations: 0 / 0.981 GB, free: 25.6 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.00195/0.2819, allocations: 0.6141 MB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.282, allocations: 16.02 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.2822, allocations: 27.72 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.2827, allocations: 258.4 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.136e-05/0.2828, allocations: 19.98 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.283, allocations: 16 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.2836, allocations: 145.5 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2836, allocations: 3.938 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.2837, allocations: 4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2837, allocations: 0 / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.2841, allocations: 48.72 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.2847, allocations: 309.4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.2854, allocations: 138.7 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.2858, allocations: 61.14 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2858, allocations: 4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000929/0.2868, allocations: 220.1 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 4.479e-06/0.2868, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001306/0.2881, allocations: 274.7 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2882, allocations: 59.41 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.2888, allocations: 286.8 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.2889, allocations: 45.69 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2891, allocations: 93.14 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2892, allocations: 47.44 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.2893, allocations: 8 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.2894, allocations: 326.8 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.2899, allocations: 88.17 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.2905, allocations: 146.4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.2911, allocations: 160.1 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.2911, allocations: 0 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001618/0.2928, allocations: 407.2 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2929, allocations: 71.58 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.293, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.293, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.2934, allocations: 31.91 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.2935, allocations: 4 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.2949, allocations: 71.8 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.2951, allocations: 51.98 kB / 0.9849 GB, free: 21.3 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.0003782/0.2955, allocations: 179 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.2957, allocations: 27.62 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2958, allocations: 30.25 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2958, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2958, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.2959, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.2975, allocations: 0.574 MB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2976, allocations: 0 / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2977, allocations: 4 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.2978, allocations: 7.938 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.2978, allocations: 11.98 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.2979, allocations: 3.984 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2979, allocations: 0 / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2989, allocations: 332.1 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.2993, allocations: 148.7 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.2995, allocations: 12 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3001, allocations: 11.98 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3002, allocations: 19.97 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.3003, allocations: 31.98 kB / 0.9863 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004112/0.3008, allocations: 209.9 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.92e-07/0.3008, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007725/0.3016, allocations: 44 kB / 0.9865 GB, free: 19.58 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.0002505/0.3019, allocations: 128.9 kB / 0.9866 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.3031, allocations: 346.6 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3032, allocations: 0 / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.3036, allocations: 74.25 kB / 0.987 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.3043, allocations: 20.88 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3058, allocations: 455.2 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3062, allocations: 0.7438 MB / 0.9882 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003757/0.3066, allocations: 33.42 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.3069, allocations: 39.41 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.405e-06/0.3069, allocations: 4 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.01643/0.3234, allocations: 3.927 MB / 0.9921 GB, free: 13.76 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)