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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.683/0.683, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001063/0.001063, allocations: 184.8 kB / 169.7 MB, free: 1.75 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.401/1.401, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0007984/0.0007984, allocations: 82.23 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6407, allocations: 104.4 MB / 0.7302 GB, free: 8.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.641, allocations: 71.45 kB / 0.7303 GB, free: 8.941 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.6546, allocations: 4.667 MB / 0.7349 GB, free: 4.898 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6546, allocations: 3.984 kB / 0.7349 GB, free: 4.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.6547, allocations: 4 kB / 0.7349 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.0008016/0.6555, allocations: 0.5381 MB / 0.7354 GB, free: 4.301 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6555, allocations: 16.03 kB / 0.7354 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.6556, allocations: 33.69 kB / 0.7354 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.6557, allocations: 39.66 kB / 0.7355 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.6558, allocations: 195.8 kB / 0.7357 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.6559, allocations: 4 kB / 0.7357 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.656, allocations: 23.3 kB / 0.7357 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.6562, allocations: 130.9 kB / 0.7358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6562, allocations: 0 / 0.7358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.6563, allocations: 7.875 kB / 0.7358 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6563, allocations: 0 / 0.7358 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.6564, allocations: 49.38 kB / 0.7359 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.6568, allocations: 309.8 kB / 0.7362 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.657, allocations: 125.7 kB / 0.7363 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.6571, allocations: 54.22 kB / 0.7363 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6571, allocations: 4 kB / 0.7363 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.6575, allocations: 211.5 kB / 0.7365 GB, free: 3.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.466e-06/0.6575, allocations: 0 / 0.7365 GB, free: 3.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.00044/0.658, allocations: 210.9 kB / 0.7367 GB, free: 2.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.658, allocations: 62.7 kB / 0.7368 GB, free: 2.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.6582, allocations: 195.5 kB / 0.737 GB, free: 2.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.6583, allocations: 36.95 kB / 0.737 GB, free: 2.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.6584, allocations: 92.83 kB / 0.7371 GB, free: 2.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.6584, allocations: 45.77 kB / 0.7371 GB, free: 2.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.6585, allocations: 7.812 kB / 0.7372 GB, free: 2.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6586, allocations: 330.6 kB / 0.7375 GB, free: 2.238 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6588, allocations: 91.16 kB / 0.7376 GB, free: 2.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.6591, allocations: 142.8 kB / 0.7377 GB, free: 2.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.6593, allocations: 152 kB / 0.7378 GB, free: 1.914 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6593, allocations: 4 kB / 0.7378 GB, free: 1.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006722/0.66, allocations: 389.6 kB / 0.7382 GB, free: 1.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.6601, allocations: 78.31 kB / 0.7383 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6601, allocations: 4 kB / 0.7383 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6601, allocations: 4.188 kB / 0.7383 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.6603, allocations: 27.48 kB / 0.7383 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6603, allocations: 4 kB / 0.7383 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.6607, allocations: 55.31 kB / 0.7384 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.6608, allocations: 35.98 kB / 0.7384 GB, free: 1.375 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.0001267/0.6609, allocations: 135.1 kB / 0.7385 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.6609, allocations: 23.56 kB / 0.7386 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.661, allocations: 20.45 kB / 0.7386 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.661, allocations: 4 kB / 0.7386 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.661, allocations: 0 / 0.7386 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.661, allocations: 3.938 kB / 0.7386 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007486/0.6618, allocations: 0.5303 MB / 0.7391 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6618, allocations: 0 / 0.7391 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.6618, allocations: 15.92 kB / 0.7391 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6619, allocations: 8 kB / 0.7391 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.6619, allocations: 11.55 kB / 0.7391 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6619, allocations: 0 / 0.7391 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6619, allocations: 4 kB / 0.7391 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.6623, allocations: 308.2 kB / 0.7394 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6624, allocations: 137.6 kB / 0.7396 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.6625, allocations: 10.44 kB / 0.7396 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.6627, allocations: 15.98 kB / 0.7396 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.6627, allocations: 15.36 kB / 0.7396 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.6628, allocations: 27.97 kB / 0.7396 GB, free: 164 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.6629, allocations: 162.1 kB / 0.7398 GB, free: 24 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6629, allocations: 0 / 0.7398 GB, free: 24 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.6633, allocations: 55.28 kB / 0.7398 GB, free: 15.97 MB / 0.4948 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.000709/0.664, allocations: 0.8582 MB / 0.7407 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.6645, allocations: 340.8 kB / 0.741 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6645, allocations: 0 / 0.741 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6647, allocations: 72.91 kB / 0.7411 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.6649, allocations: 19.59 kB / 0.7411 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.6656, allocations: 274 kB / 0.7414 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.6659, allocations: 0.7282 MB / 0.7421 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.666, allocations: 33.14 kB / 0.7421 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.6662, allocations: 40.67 kB / 0.7421 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/0.6662, allocations: 0 / 0.7421 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.6834, allocations: 5.029 MB / 0.7471 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.6837, allocations: 153.8 kB / 0.7472 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.391, allocations: 0 / 0.7472 GB, free: 8.535 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)