Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_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.001024/0.001025, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 199 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 69.2 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1849, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002466/0.1874, allocations: 1.49 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.1883, allocations: 431.3 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.1883, allocations: 0 / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.1884, allocations: 11.86 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.1885, allocations: 20.23 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.1891, allocations: 246.3 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.1894, allocations: 327.5 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.1895, allocations: 7.984 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1897, allocations: 195.7 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1899, allocations: 112 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.19, allocations: 20 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.1901, allocations: 20 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1902, allocations: 79.78 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1903, allocations: 131.3 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1906, allocations: 291.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1906, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1906, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.1907, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 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.0009218/0.1916, allocations: 0.7461 MB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1916, allocations: 12.03 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.1917, allocations: 34.75 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.1918, allocations: 36.64 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1921, allocations: 263.6 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1921, allocations: 20.12 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1922, allocations: 16 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.1931, allocations: 201.4 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1932, allocations: 0 / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1932, allocations: 4 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1932, allocations: 4 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.194, allocations: 95.91 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1943, allocations: 329.2 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.1953, allocations: 174.3 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.196, allocations: 112.8 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1961, allocations: 4 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.197, allocations: 203.2 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.197, allocations: 4 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002442/0.1994, allocations: 445 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1995, allocations: 63.41 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.1998, allocations: 294.9 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.1999, allocations: 37.69 kB / 0.7897 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.2, allocations: 89.14 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.2, allocations: 43.53 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.2002, allocations: 97.39 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2003, allocations: 322.8 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2005, allocations: 83.94 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.2007, allocations: 142.6 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2011, allocations: 239.9 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2011, allocations: 0 / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000643/0.2017, allocations: 395.9 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.2018, allocations: 79.33 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2018, allocations: 3.938 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2019, allocations: 8.188 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.202, allocations: 23.91 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.202, allocations: 4 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.2025, allocations: 55.8 kB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.2026, allocations: 43.98 kB / 0.7913 GB, free: 5.035 MB / 0.6075 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.0001788/0.2027, allocations: 173.7 kB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2028, allocations: 31.7 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.2029, allocations: 26.31 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2029, allocations: 3.984 kB / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2029, allocations: 0 / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2029, allocations: 0 / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.2048, allocations: 0.6933 MB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2048, allocations: 0 / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.2049, allocations: 7.984 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2049, allocations: 0 / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.2049, allocations: 15.98 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2049, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2049, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.2066, allocations: 454.8 kB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2068, allocations: 164.6 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2068, allocations: 12 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.2073, allocations: 31.97 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2073, allocations: 15.91 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.2074, allocations: 47.97 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001734/0.2075, allocations: 205.9 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2076, allocations: 0 / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003283/0.2079, allocations: 47.98 kB / 0.7931 GB, free: 3.031 MB / 0.6075 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.001911/0.2098, allocations: 0.987 MB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2109, allocations: 398.1 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.211, allocations: 0 / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.2117, allocations: 111.9 kB / 0.7946 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.212, allocations: 29.89 kB / 0.7946 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.2153, allocations: 2.376 MB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2157, allocations: 0.742 MB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.2157, allocations: 21.02 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.2158, allocations: 27.42 kB / 0.7977 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2158, allocations: 0 / 0.7977 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08985/0.3057, allocations: 4.793 MB / 0.8024 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.544, allocations: 11.09 kB / 0.8024 GB, free: 9.426 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)