Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7541/0.7541, allocations: 127.4 MB / 134.9 MB, free: 3.488 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 184.2 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 92.66 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.452e-05, allocations: 2.469 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.2459, allocations: 103.8 MB / 0.7229 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.2462, allocations: 71.95 kB / 0.7229 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.2598, allocations: 4.648 MB / 0.7275 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2598, allocations: 0 / 0.7275 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2598, allocations: 4 kB / 0.7275 GB, free: 14.48 MB / 0.5105 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.0007405/0.2606, allocations: 0.5322 MB / 0.728 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2606, allocations: 8.031 kB / 0.728 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.2607, allocations: 35.67 kB / 0.728 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2609, allocations: 188 kB / 0.7282 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.2609, allocations: 4 kB / 0.7282 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.2609, allocations: 19.98 kB / 0.7282 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.2611, allocations: 35.98 kB / 0.7283 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2613, allocations: 137.5 kB / 0.7284 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2613, allocations: 0 / 0.7284 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2614, allocations: 0 / 0.7284 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2614, allocations: 7.984 kB / 0.7284 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2617, allocations: 289.7 kB / 0.7287 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.2619, allocations: 118.7 kB / 0.7288 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.262, allocations: 48.86 kB / 0.7288 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.262, allocations: 0 / 0.7288 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.2624, allocations: 199.5 kB / 0.729 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.2624, allocations: 3.938 kB / 0.729 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003767/0.2628, allocations: 198.8 kB / 0.7292 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2628, allocations: 67.41 kB / 0.7293 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.263, allocations: 191 kB / 0.7295 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.263, allocations: 33.7 kB / 0.7295 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.2631, allocations: 84.92 kB / 0.7296 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.2632, allocations: 39.52 kB / 0.7296 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2632, allocations: 4 kB / 0.7296 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2633, allocations: 322.8 kB / 0.7299 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2635, allocations: 88.2 kB / 0.73 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.2637, allocations: 138.1 kB / 0.7302 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2638, allocations: 75.75 kB / 0.7302 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2638, allocations: 0 / 0.7302 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005373/0.2644, allocations: 309 kB / 0.7305 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.2645, allocations: 67.39 kB / 0.7306 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2645, allocations: 4 kB / 0.7306 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2645, allocations: 4 kB / 0.7306 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2647, allocations: 31.91 kB / 0.7306 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2647, allocations: 3.938 kB / 0.7306 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.2651, allocations: 48.06 kB / 0.7307 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.2652, allocations: 43.98 kB / 0.7307 GB, free: 10.9 MB / 0.5105 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 () * 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.0001238/0.2653, allocations: 127.9 kB / 0.7308 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2654, allocations: 19.81 kB / 0.7309 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.2654, allocations: 21.95 kB / 0.7309 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2654, allocations: 4 kB / 0.7309 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2654, allocations: 0 / 0.7309 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2654, allocations: 4 kB / 0.7309 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.2661, allocations: 0.4917 MB / 0.7314 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2661, allocations: 0 / 0.7314 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.2661, allocations: 15.98 kB / 0.7314 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2661, allocations: 0 / 0.7314 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.2662, allocations: 11.98 kB / 0.7314 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2662, allocations: 4 kB / 0.7314 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2662, allocations: 3.938 kB / 0.7314 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2665, allocations: 301.5 kB / 0.7317 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2667, allocations: 132.8 kB / 0.7318 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.2667, allocations: 11.98 kB / 0.7318 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2669, allocations: 8 kB / 0.7318 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.267, allocations: 19.91 kB / 0.7318 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.267, allocations: 27.98 kB / 0.7319 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2671, allocations: 153.6 kB / 0.732 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2671, allocations: 0 / 0.732 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000313/0.2674, allocations: 47.98 kB / 0.7321 GB, free: 9.43 MB / 0.5105 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) * 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.0001352/0.2676, allocations: 116.9 kB / 0.7322 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.268, allocations: 322.8 kB / 0.7325 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.268, allocations: 0 / 0.7325 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.2681, allocations: 59.98 kB / 0.7325 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2684, allocations: 22.84 kB / 0.7326 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.2688, allocations: 217.8 kB / 0.7328 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.2691, allocations: 0.7356 MB / 0.7335 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.2692, allocations: 29.2 kB / 0.7335 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.2693, allocations: 31.42 kB / 0.7336 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.2693, allocations: 3.938 kB / 0.7336 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of Templates: time 0.006402/0.2757, allocations: 3.811 MB / 0.7373 GB, free: 4.012 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)