Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002568/0.002569, allocations: 189.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.86/1.86, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.727/3.727, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 60.39 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4539, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003989/0.458, allocations: 1.582 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.4596, allocations: 0.544 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4597, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.4599, allocations: 7.922 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.4601, allocations: 23.86 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4611, allocations: 298.7 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.4619, allocations: 0.4995 MB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.4619, allocations: 19.95 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.4626, allocations: 342.9 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.463, allocations: 163.2 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4631, allocations: 28 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.4632, allocations: 24 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.4634, allocations: 119.6 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.4636, allocations: 194.8 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.4642, allocations: 422.9 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4642, allocations: 7.938 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4642, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.4642, allocations: 4 kB / 1.057 GB, free: 4.398 MB / 0.8106 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.001688/0.4659, allocations: 0.8704 MB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.466, allocations: 8.625 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.933e-05/0.4661, allocations: 38.73 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.4663, allocations: 44.56 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.4668, allocations: 322.1 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.4669, allocations: 20.36 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.467, allocations: 24.36 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.468, allocations: 210 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4681, allocations: 3.938 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.4681, allocations: 8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4681, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.4689, allocations: 103.9 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4695, allocations: 389.2 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4706, allocations: 178.5 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.4714, allocations: 112.8 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.4715, allocations: 7.984 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.4726, allocations: 231 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.4726, allocations: 0 / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002738/0.4753, allocations: 487 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.4754, allocations: 59.41 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.4759, allocations: 409.9 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.476, allocations: 41.69 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.4761, allocations: 97.44 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.4762, allocations: 35.59 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.4764, allocations: 129.3 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4766, allocations: 326.8 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.4769, allocations: 115.9 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4772, allocations: 167.2 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.4776, allocations: 278.8 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4776, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008791/0.4785, allocations: 498.1 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4786, allocations: 95.44 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4786, allocations: 4 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4787, allocations: 4 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.4789, allocations: 27.91 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.4789, allocations: 4 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.4794, allocations: 59.8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.4795, allocations: 59.98 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002655/0.4798, allocations: 203 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.4799, allocations: 47.45 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.48, allocations: 39.75 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.48, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.48, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.48, allocations: 3.984 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.4823, allocations: 0.748 MB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4823, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.4824, allocations: 4 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4824, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.4824, allocations: 19.97 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.4824, allocations: 4 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4824, allocations: 4 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4842, allocations: 477.5 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4845, allocations: 208.4 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.4846, allocations: 12 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.485, allocations: 35.95 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.4851, allocations: 7.984 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.4852, allocations: 55.98 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003226/0.4855, allocations: 295.1 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4855, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003756/0.4859, allocations: 67.98 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.002047/0.4879, allocations: 1.018 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.4892, allocations: 442.4 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4893, allocations: 0 / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.4901, allocations: 124.2 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.4905, allocations: 28.5 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.4956, allocations: 2.892 MB / 1.068 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.4961, allocations: 0.7669 MB / 1.069 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.301e-05/0.4962, allocations: 17.08 kB / 1.069 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.4963, allocations: 27.42 kB / 1.069 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4963, allocations: 0 / 1.069 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.537/1.033, allocations: 6.269 MB / 1.075 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003709/1.034, allocations: 199.7 kB / 1.075 GB, free: 364 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.707/4.741, allocations: 3.938 kB / 1.075 GB, free: 360 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)