Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009773/0.0009775, allocations: 170.8 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007596/0.0007595, allocations: 96.02 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003911, allocations: 8.75 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001166/0.1826, allocations: 1.218 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.1832, allocations: 447.8 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.1833, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.268e-05/0.1834, allocations: 11.92 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.1835, allocations: 20.28 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1839, allocations: 217.5 kB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1841, allocations: 287.9 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.1841, allocations: 8 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1843, allocations: 218.3 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1845, allocations: 119.6 kB / 0.8987 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.1846, allocations: 12 kB / 0.8987 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.1846, allocations: 8 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.1847, allocations: 75.77 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.1848, allocations: 119.3 kB / 0.8989 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.185, allocations: 275 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.185, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.185, allocations: 3.984 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.185, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 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.0007428/0.1858, allocations: 0.6142 MB / 0.8997 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1858, allocations: 8.031 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.1859, allocations: 42.55 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1859, allocations: 31.62 kB / 0.8998 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1862, allocations: 266.2 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1862, allocations: 12 kB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.1862, allocations: 23.97 kB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1865, allocations: 152.2 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1865, allocations: 4 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1865, allocations: 4 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1865, allocations: 0 / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1866, allocations: 43.97 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.1868, allocations: 317.4 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1871, allocations: 122.7 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.1872, allocations: 64.83 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1872, allocations: 0 / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.1875, allocations: 224 kB / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1875, allocations: 4 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004126/0.1879, allocations: 265.2 kB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.188, allocations: 67.38 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1881, allocations: 290.9 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1882, allocations: 37.7 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.1882, allocations: 93.12 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1883, allocations: 43.45 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1883, allocations: 33.7 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.1884, allocations: 330.8 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1885, allocations: 100.1 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1887, allocations: 142.4 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1889, allocations: 241.3 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1889, allocations: 3.938 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004848/0.1894, allocations: 404.7 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.1895, allocations: 79.56 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1895, allocations: 4 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1895, allocations: 7.938 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1896, allocations: 27.92 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1897, allocations: 3.984 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.1901, allocations: 75.77 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.1902, allocations: 51.97 kB / 0.9032 GB, free: 60.59 MB / 0.6042 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1903, allocations: 178.4 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1903, allocations: 27.7 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.1904, allocations: 30.14 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1904, allocations: 7.984 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1904, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1904, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.1909, allocations: 0.5709 MB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1909, allocations: 0 / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.191, allocations: 11.98 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.191, allocations: 3.984 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.191, allocations: 15.98 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.191, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.191, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1913, allocations: 323 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1914, allocations: 148.7 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1915, allocations: 11.98 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1917, allocations: 15.98 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1917, allocations: 15.92 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.1917, allocations: 31.98 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001122/0.1919, allocations: 209.9 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1919, allocations: 0 / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002497/0.1921, allocations: 52 kB / 0.9048 GB, free: 58.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000429/0.1926, allocations: 0.8724 MB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.1929, allocations: 342.5 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1929, allocations: 384 / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1931, allocations: 77.92 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1933, allocations: 27.62 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1953, allocations: 2.464 MB / 0.9085 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.1955, allocations: 0.7399 MB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.1956, allocations: 37.42 kB / 0.9092 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1957, allocations: 47.41 kB / 0.9093 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1957, allocations: 0 / 0.9093 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7046/0.9004, allocations: 5.032 MB / 0.9142 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.9005, allocations: 205 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.574, allocations: 0 / 0.9144 GB, free: 48.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)