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 3.029/3.029, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001569/0.001569, allocations: 175.2 kB / 370.8 MB, free: 10.86 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.081/2.081, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.0012/0.001199, allocations: 96.28 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007741, allocations: 11.98 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2456, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001751/0.2474, allocations: 1.179 MB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2485, allocations: 388.2 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.2486, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.2486, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.2487, allocations: 19.91 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.2496, allocations: 210.5 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.2499, allocations: 155.7 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.25, allocations: 8 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2503, allocations: 163.6 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.2505, allocations: 123.7 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.2506, allocations: 8 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.2507, allocations: 11.94 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2509, allocations: 79.78 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.251, allocations: 65.58 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2512, allocations: 203.8 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2512, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2513, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2513, allocations: 4 kB / 0.9807 GB, free: 25.78 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.001354/0.2526, allocations: 0.6141 MB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2527, allocations: 12.02 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2528, allocations: 39.7 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.2532, allocations: 246.5 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.2533, allocations: 15.98 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.2534, allocations: 16 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.2538, allocations: 151 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2538, allocations: 0 / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.2539, allocations: 7.969 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2539, allocations: 4 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2541, allocations: 39.98 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2545, allocations: 317.3 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.2549, allocations: 134.6 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.255, allocations: 8.359 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006093/0.2556, allocations: 218.1 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.2556, allocations: 0 / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000832/0.2565, allocations: 271.6 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2565, allocations: 63.39 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.2569, allocations: 286.8 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.2569, allocations: 41.7 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.257, allocations: 89.12 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.2571, allocations: 47.5 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.2572, allocations: 8 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.2572, allocations: 330.8 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.2576, allocations: 88.17 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.258, allocations: 146.4 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.2583, allocations: 160.1 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2583, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001002/0.2593, allocations: 403.2 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.2594, allocations: 75.38 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2595, allocations: 0 / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2595, allocations: 4.188 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.2598, allocations: 31.92 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2598, allocations: 7.984 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/0.2607, allocations: 79.66 kB / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.2608, allocations: 55.98 kB / 0.9846 GB, free: 21.55 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.0002562/0.2611, allocations: 171.8 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.123e-05/0.2612, allocations: 35.61 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.2613, allocations: 26.27 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2613, allocations: 3.984 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2613, allocations: 0 / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2613, allocations: 0 / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2624, allocations: 0.5567 MB / 0.9853 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2624, allocations: 8 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.2625, allocations: 7.984 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2625, allocations: 0 / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.2626, allocations: 15.98 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2626, allocations: 0 / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2626, allocations: 0 / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.2632, allocations: 328.6 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.2634, allocations: 152.7 kB / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.2635, allocations: 15.98 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2639, allocations: 19.97 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.264, allocations: 11.98 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.2641, allocations: 35.97 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002337/0.2643, allocations: 205.9 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2643, allocations: 0 / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005066/0.2648, allocations: 47.98 kB / 0.9861 GB, free: 19.82 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.0001595/0.265, allocations: 116.9 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.2658, allocations: 346.7 kB / 0.9866 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2658, allocations: 0 / 0.9866 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.266, allocations: 75.89 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2664, allocations: 23.02 kB / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.2673, allocations: 439.3 kB / 0.9871 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2675, allocations: 0.7493 MB / 0.9878 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.2677, allocations: 41.42 kB / 0.9879 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2679, allocations: 39.42 kB / 0.9879 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.268, allocations: 0 / 0.9879 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.00997/0.2779, allocations: 3.918 MB / 0.9917 GB, free: 14.02 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)