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.7627/0.7627, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 171.8 kB / 169.7 MB, free: 1.738 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.719/1.719, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.0008424/0.0008424, allocations: 103.2 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.026e-05/5.029e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.522/0.6945, allocations: 104.4 MB / 0.7301 GB, free: 8.977 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6948, allocations: 66.84 kB / 0.7302 GB, free: 8.941 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.7079, allocations: 4.669 MB / 0.7348 GB, free: 4.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7079, allocations: 0 / 0.7348 GB, free: 4.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.7079, allocations: 4 kB / 0.7348 GB, free: 4.891 MB / 490.7 MB 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.0007951/0.7087, allocations: 0.5359 MB / 0.7353 GB, free: 4.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7088, allocations: 8.031 kB / 0.7353 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.7089, allocations: 35.66 kB / 0.7353 GB, free: 4.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.7091, allocations: 195.9 kB / 0.7355 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.7091, allocations: 11.62 kB / 0.7355 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.7092, allocations: 15.98 kB / 0.7355 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.7095, allocations: 142.2 kB / 0.7357 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.7095, allocations: 0 / 0.7357 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.7095, allocations: 4 kB / 0.7357 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7095, allocations: 0 / 0.7357 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.7097, allocations: 42.3 kB / 0.7357 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.71, allocations: 318 kB / 0.736 GB, free: 3.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.7103, allocations: 121.8 kB / 0.7361 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7104, allocations: 58.84 kB / 0.7362 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.7104, allocations: 4 kB / 0.7362 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.7108, allocations: 204.9 kB / 0.7364 GB, free: 3.203 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.7108, allocations: 0 / 0.7364 GB, free: 3.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000434/0.7113, allocations: 205.2 kB / 0.7366 GB, free: 3.027 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.7113, allocations: 66.08 kB / 0.7367 GB, free: 2.953 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.7115, allocations: 197.7 kB / 0.7368 GB, free: 2.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.7116, allocations: 40.14 kB / 0.7369 GB, free: 2.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.7116, allocations: 88.91 kB / 0.737 GB, free: 2.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.7117, allocations: 52.69 kB / 0.737 GB, free: 2.613 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.7117, allocations: 6.938 kB / 0.737 GB, free: 2.609 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7119, allocations: 325.8 kB / 0.7373 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.7121, allocations: 89.59 kB / 0.7374 GB, free: 2.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.7123, allocations: 147.8 kB / 0.7376 GB, free: 2.098 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.7125, allocations: 151 kB / 0.7377 GB, free: 1.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7125, allocations: 0 / 0.7377 GB, free: 1.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006812/0.7132, allocations: 390.5 kB / 0.7381 GB, free: 1.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.7133, allocations: 82.19 kB / 0.7382 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7133, allocations: 4 kB / 0.7382 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7133, allocations: 4 kB / 0.7382 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.7135, allocations: 23.92 kB / 0.7382 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7135, allocations: 0 / 0.7382 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.7139, allocations: 55.19 kB / 0.7382 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.714, allocations: 42.8 kB / 0.7383 GB, free: 1.422 MB / 490.7 MB 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.0001184/0.7141, allocations: 135 kB / 0.7384 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.7141, allocations: 15.81 kB / 0.7384 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.7142, allocations: 28.27 kB / 0.7385 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7142, allocations: 0 / 0.7385 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7142, allocations: 0 / 0.7385 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7142, allocations: 3.938 kB / 0.7385 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.715, allocations: 0.5311 MB / 0.739 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.715, allocations: 4 kB / 0.739 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.7151, allocations: 15.92 kB / 0.739 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7151, allocations: 0 / 0.739 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.7151, allocations: 11.98 kB / 0.739 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7151, allocations: 4 kB / 0.739 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7151, allocations: 0 / 0.739 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.7155, allocations: 306.1 kB / 0.7393 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.7157, allocations: 143.4 kB / 0.7394 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7158, allocations: 14.56 kB / 0.7395 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.7159, allocations: 14.92 kB / 0.7395 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.716, allocations: 11.98 kB / 0.7395 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.7161, allocations: 27.16 kB / 0.7395 GB, free: 216 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.7162, allocations: 161.2 kB / 0.7397 GB, free: 76 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7162, allocations: 0 / 0.7397 GB, free: 76 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.7165, allocations: 54.45 kB / 0.7397 GB, free: 28 kB / 490.7 MB 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.0002031/0.7167, allocations: 127.8 kB / 0.7398 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.7173, allocations: 338.6 kB / 0.7402 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7173, allocations: 0 / 0.7402 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.7174, allocations: 64.55 kB / 0.7402 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.7176, allocations: 15.78 kB / 0.7402 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.7181, allocations: 231.3 kB / 0.7404 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7184, allocations: 0.7352 MB / 0.7412 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000113/0.7185, allocations: 29.2 kB / 0.7412 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.7186, allocations: 31.42 kB / 0.7412 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.7186, allocations: 3.938 kB / 0.7412 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.006955/0.7256, allocations: 3.984 MB / 0.7451 GB, free: 10.54 MB / 0.4948 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)