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.408/1.408, allocations: 252 MB / 267.3 MB, free: 10.81 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.001026/0.001026, allocations: 176.4 kB / 327 MB, free: 2.074 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.627/1.627, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007754/0.0007754, allocations: 85.61 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 8.094 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2026, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00143/0.2041, allocations: 1.206 MB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.2049, allocations: 435.4 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.205, allocations: 4 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.2051, allocations: 3.938 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.2052, allocations: 28.22 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.2058, allocations: 220.9 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.2061, allocations: 295.8 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.2061, allocations: 11.98 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.2064, allocations: 206.3 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.2066, allocations: 123.6 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.2067, allocations: 16 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.2068, allocations: 8 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.2069, allocations: 75.72 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.207, allocations: 145.1 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2073, allocations: 283.2 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2073, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2073, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.2073, allocations: 0 / 0.9039 GB, free: 60.19 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.0009521/0.2083, allocations: 0.6142 MB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2083, allocations: 8.031 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.2084, allocations: 38.56 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.2085, allocations: 31.62 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2087, allocations: 262.2 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2087, allocations: 15.98 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.2088, allocations: 20 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2091, allocations: 148.2 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2091, allocations: 4 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.2091, allocations: 8 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2091, allocations: 0 / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.2092, allocations: 51.91 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.2095, allocations: 305.4 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.2098, allocations: 126.7 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2099, allocations: 60.83 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.2099, allocations: 4 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.2103, allocations: 226.5 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.684e-06/0.2104, allocations: 0 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004847/0.2108, allocations: 269.2 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2109, allocations: 63.34 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2111, allocations: 290.9 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.2111, allocations: 41.69 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2112, allocations: 89.14 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.2112, allocations: 51.38 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.2113, allocations: 8 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.2113, allocations: 322.8 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.2115, allocations: 96.17 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2118, allocations: 146.4 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.212, allocations: 244.6 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.212, allocations: 3.938 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005974/0.2126, allocations: 412.9 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.2127, allocations: 75.39 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2127, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2127, allocations: 7.938 kB / 0.9077 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2129, allocations: 27.91 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2129, allocations: 4 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.2134, allocations: 83.58 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.2135, allocations: 59.98 kB / 0.9079 GB, free: 55.71 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.2137, allocations: 173.7 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2137, allocations: 23.72 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2138, allocations: 38.19 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2138, allocations: 0 / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2138, allocations: 0 / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2138, allocations: 4 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.2145, allocations: 0.5634 MB / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2145, allocations: 0 / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.2146, allocations: 11.98 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2146, allocations: 0 / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2146, allocations: 7.984 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2146, allocations: 4 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2146, allocations: 0 / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.215, allocations: 330.9 kB / 0.909 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2151, allocations: 156.7 kB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.2152, allocations: 8 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2154, allocations: 15.98 kB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2155, allocations: 11.98 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.2155, allocations: 31.97 kB / 0.9092 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001334/0.2156, allocations: 205.9 kB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2156, allocations: 0 / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002846/0.2159, allocations: 55.98 kB / 0.9095 GB, free: 54 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.00054/0.2165, allocations: 0.8644 MB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.2169, allocations: 342.5 kB / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.217, allocations: 384 / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2171, allocations: 82.09 kB / 0.9107 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2174, allocations: 24.81 kB / 0.9108 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2197, allocations: 2.454 MB / 0.9131 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.2199, allocations: 0.7399 MB / 0.9139 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2201, allocations: 41.42 kB / 0.9139 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2202, allocations: 43.41 kB / 0.914 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2202, allocations: 0 / 0.914 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.2347, allocations: 5.035 MB / 0.9189 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.235, allocations: 215.1 kB / 0.9191 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.974, allocations: 0 / 0.9191 GB, free: 44.05 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)