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.7501/0.7501, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001238/0.001238, allocations: 191.9 kB / 173.8 MB, free: 6.098 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.77/1.77, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009822/0.0009821, allocations: 93.5 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8.906 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.3713, allocations: 104.5 MB / 0.7374 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.3717, allocations: 75.95 kB / 0.7375 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.3857, allocations: 4.672 MB / 0.742 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3857, allocations: 0 / 0.742 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3857, allocations: 4 kB / 0.742 GB, free: 1.125 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.0009049/0.3867, allocations: 0.5716 MB / 0.7426 GB, free: 492 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3867, allocations: 8.031 kB / 0.7426 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.3868, allocations: 27.77 kB / 0.7426 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.387, allocations: 195.8 kB / 0.7428 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.387, allocations: 8 kB / 0.7428 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.3871, allocations: 27.97 kB / 0.7428 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3874, allocations: 141.5 kB / 0.743 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3874, allocations: 0 / 0.743 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3875, allocations: 4 kB / 0.743 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3875, allocations: 0 / 0.743 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.461/0.8485, allocations: 41.16 kB / 0.743 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.8492, allocations: 310.2 kB / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.8496, allocations: 122.2 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.8496, allocations: 4.188 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.8501, allocations: 209 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.416e-06/0.8501, allocations: 0 / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0006112/0.8507, allocations: 254.4 kB / 0.7439 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8508, allocations: 63.73 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.851, allocations: 198.3 kB / 0.7441 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.851, allocations: 43.64 kB / 0.7442 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.8511, allocations: 96.88 kB / 0.7443 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.8512, allocations: 46.75 kB / 0.7443 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.8512, allocations: 9.031 kB / 0.7443 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.8513, allocations: 327.6 kB / 0.7446 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.8516, allocations: 95.12 kB / 0.7447 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.8519, allocations: 151.3 kB / 0.7449 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.8522, allocations: 153.3 kB / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8522, allocations: 0 / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007083/0.8529, allocations: 407.6 kB / 0.7454 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.853, allocations: 81.55 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.853, allocations: 3.844 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.8531, allocations: 3.5 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.8532, allocations: 21.75 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8533, allocations: 9.812 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.8536, allocations: 45.28 kB / 0.7455 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/0.8537, allocations: 46.41 kB / 0.7456 GB, free: 107.5 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 () * 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.0001751/0.8539, allocations: 161.1 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.8539, allocations: 23.81 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.854, allocations: 22.73 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.854, allocations: 3.375 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.854, allocations: 0.5 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.854, allocations: 1.031 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.8549, allocations: 0.5395 MB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8549, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.855, allocations: 3.5 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.855, allocations: 4.031 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.855, allocations: 13.89 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.855, allocations: 2.328 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.855, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.8555, allocations: 316.2 kB / 0.7466 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.8557, allocations: 139.5 kB / 0.7468 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.8557, allocations: 11.28 kB / 0.7468 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8559, allocations: 13.86 kB / 0.7468 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.856, allocations: 16.55 kB / 0.7468 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.856, allocations: 25.47 kB / 0.7468 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001739/0.8562, allocations: 165.4 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8562, allocations: 0 / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003478/0.8566, allocations: 47 kB / 0.747 GB, free: 106.7 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) * 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.0002234/0.8568, allocations: 134.3 kB / 0.7472 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.8575, allocations: 347.9 kB / 0.7475 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8575, allocations: 0 / 0.7475 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.8577, allocations: 71.58 kB / 0.7476 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.858, allocations: 18.53 kB / 0.7476 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.8589, allocations: 364.8 kB / 0.7479 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.8591, allocations: 0.7263 MB / 0.7486 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.8593, allocations: 31.27 kB / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.8594, allocations: 36.91 kB / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.8594, allocations: 0 / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.0106/0.87, allocations: 3.99 MB / 0.7526 GB, free: 105.1 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)