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.7808/0.7808, allocations: 127.4 MB / 134.9 MB, free: 3.449 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.001126/0.001126, allocations: 173.1 kB / 164.6 MB, free: 11.65 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.424/1.424, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008644/0.0008643, allocations: 97.22 kB / 476.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.463e-05, allocations: 2.5 kB / 0.5466 GB, free: 95.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 76.76 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.2743, allocations: 103.8 MB / 0.723 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.2747, allocations: 75.95 kB / 0.723 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.2883, allocations: 4.641 MB / 0.7276 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2883, allocations: 0 / 0.7276 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2884, allocations: 0 / 0.7276 GB, free: 14.39 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.000837/0.2892, allocations: 0.5516 MB / 0.7281 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2892, allocations: 8.031 kB / 0.7281 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.2893, allocations: 31.67 kB / 0.7281 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2895, allocations: 192 kB / 0.7283 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2896, allocations: 4 kB / 0.7283 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.2896, allocations: 16 kB / 0.7283 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.2897, allocations: 35.98 kB / 0.7284 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.29, allocations: 137.5 kB / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.29, allocations: 0 / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.29, allocations: 0 / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.29, allocations: 4 kB / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.2904, allocations: 285.8 kB / 0.7288 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2906, allocations: 114.7 kB / 0.7289 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.2907, allocations: 56.84 kB / 0.7289 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2907, allocations: 0 / 0.7289 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.2911, allocations: 205.7 kB / 0.7291 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.2911, allocations: 0 / 0.7291 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003944/0.2915, allocations: 193.3 kB / 0.7293 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2915, allocations: 67.39 kB / 0.7294 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2917, allocations: 187 kB / 0.7296 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.2918, allocations: 33.7 kB / 0.7296 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.2919, allocations: 96.81 kB / 0.7297 GB, free: 12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.2919, allocations: 39.55 kB / 0.7297 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.292, allocations: 4 kB / 0.7297 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2921, allocations: 326.8 kB / 0.73 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2923, allocations: 80.22 kB / 0.7301 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.2925, allocations: 139.8 kB / 0.7303 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2926, allocations: 78.83 kB / 0.7303 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2926, allocations: 0 / 0.7303 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005422/0.2932, allocations: 295.7 kB / 0.7306 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.2933, allocations: 83.56 kB / 0.7307 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2933, allocations: 4 kB / 0.7307 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2933, allocations: 4 kB / 0.7307 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2934, allocations: 23.92 kB / 0.7307 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2935, allocations: 0 / 0.7307 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.2938, allocations: 43.88 kB / 0.7308 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.2939, allocations: 43.97 kB / 0.7308 GB, free: 10.81 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.0001407/0.294, allocations: 141.8 kB / 0.7309 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003006/0.2944, allocations: 191.4 kB / 0.7311 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.2944, allocations: 23.7 kB / 0.7311 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.2945, allocations: 25.91 kB / 0.7312 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2945, allocations: 4 kB / 0.7312 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.2945, allocations: 3.984 kB / 0.7312 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2945, allocations: 0 / 0.7312 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.2952, allocations: 0.4949 MB / 0.7317 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2952, allocations: 0 / 0.7317 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.2953, allocations: 11.98 kB / 0.7317 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2953, allocations: 0 / 0.7317 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.2953, allocations: 7.984 kB / 0.7317 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2953, allocations: 4 kB / 0.7317 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2953, allocations: 0 / 0.7317 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.2957, allocations: 308.5 kB / 0.732 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2958, allocations: 128.9 kB / 0.7321 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.2959, allocations: 11.98 kB / 0.7321 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2961, allocations: 12 kB / 0.7321 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.2961, allocations: 19.97 kB / 0.7321 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.2962, allocations: 19.98 kB / 0.7322 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001295/0.2963, allocations: 161.6 kB / 0.7323 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2963, allocations: 0 / 0.7323 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003092/0.2966, allocations: 47.94 kB / 0.7324 GB, free: 9.129 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.0007025/0.2974, allocations: 0.8456 MB / 0.7332 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.2978, allocations: 318.8 kB / 0.7335 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2978, allocations: 0 / 0.7335 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2979, allocations: 67.92 kB / 0.7336 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2982, allocations: 13.03 kB / 0.7336 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.2988, allocations: 274.4 kB / 0.7338 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2992, allocations: 0.7279 MB / 0.7345 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2993, allocations: 33.14 kB / 0.7346 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2994, allocations: 43.42 kB / 0.7346 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.2994, allocations: 4 kB / 0.7346 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.322, allocations: 4.565 MB / 0.7391 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.3222, allocations: 141.6 kB / 0.7392 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.95, allocations: 0 / 0.7392 GB, free: 1.957 MB / 0.5105 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)