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.0009735/0.0009734, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00129/0.001291, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.000589/0.000589, allocations: 17.62 kB / 0.6738 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2976, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001732/0.2994, allocations: 1.186 MB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.3004, allocations: 425.9 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3005, allocations: 0 / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.186e-05/0.3006, allocations: 7.922 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3007, allocations: 15.92 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.3014, allocations: 218.4 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.3017, allocations: 251.5 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.3017, allocations: 4 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.3021, allocations: 231.6 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.3024, allocations: 135.7 kB / 0.7898 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.3024, allocations: 12 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.3025, allocations: 8 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3026, allocations: 79.78 kB / 0.7899 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.3027, allocations: 73.56 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.303, allocations: 215.8 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.303, allocations: 0 / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.303, allocations: 0 / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.303, allocations: 0 / 0.7902 GB, free: 8.996 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.000956/0.304, allocations: 0.6527 MB / 0.7908 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.304, allocations: 11.97 kB / 0.7908 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.3041, allocations: 42.55 kB / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.3041, allocations: 27.72 kB / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3045, allocations: 258.4 kB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.3045, allocations: 12 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.3046, allocations: 19.98 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.3054, allocations: 213.5 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3054, allocations: 0 / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.3054, allocations: 0 / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3055, allocations: 7.984 kB / 0.7914 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.3061, allocations: 114.7 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3065, allocations: 329.2 kB / 0.7918 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/0.3074, allocations: 186.5 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.308, allocations: 116.8 kB / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3081, allocations: 0 / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008372/0.3089, allocations: 230.1 kB / 0.7923 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3089, allocations: 3.938 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002223/0.3111, allocations: 481 kB / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.3112, allocations: 55.41 kB / 0.7928 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.3116, allocations: 294.9 kB / 0.7931 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.3117, allocations: 33.7 kB / 0.7931 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.3118, allocations: 93.14 kB / 0.7932 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.3118, allocations: 39.53 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3119, allocations: 8 kB / 0.7932 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3121, allocations: 330.8 kB / 0.7936 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3123, allocations: 83.94 kB / 0.7936 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.3125, allocations: 130.6 kB / 0.7938 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.3128, allocations: 155.3 kB / 0.7939 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3128, allocations: 0 / 0.7939 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007017/0.3135, allocations: 384.7 kB / 0.7943 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.3136, allocations: 75.38 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3136, allocations: 8 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3136, allocations: 4 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3138, allocations: 24.11 kB / 0.7944 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3138, allocations: 8 kB / 0.7944 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3143, allocations: 63.8 kB / 0.7945 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.3144, allocations: 39.98 kB / 0.7945 GB, free: 4.219 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002287/0.3146, allocations: 177.7 kB / 0.7947 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.3146, allocations: 31.58 kB / 0.7947 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.3147, allocations: 30.3 kB / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3147, allocations: 0 / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3147, allocations: 0 / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3147, allocations: 0 / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.3166, allocations: 0.721 MB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3167, allocations: 0 / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3167, allocations: 4 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3167, allocations: 0 / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3167, allocations: 15.97 kB / 0.7954 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3168, allocations: 4 kB / 0.7955 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3168, allocations: 0 / 0.7955 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3183, allocations: 478.1 kB / 0.7959 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.3185, allocations: 156.7 kB / 0.7961 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.3186, allocations: 8 kB / 0.7961 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.319, allocations: 43.94 kB / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3191, allocations: 4 kB / 0.7961 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.3191, allocations: 43.97 kB / 0.7962 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002138/0.3194, allocations: 213.9 kB / 0.7964 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.194e-06/0.3194, allocations: 7.938 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003374/0.3197, allocations: 47.94 kB / 0.7964 GB, free: 2.164 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 (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.001935/0.3217, allocations: 1.022 MB / 0.7974 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.3228, allocations: 382.6 kB / 0.7978 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3229, allocations: 384 / 0.7978 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.3236, allocations: 123.9 kB / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.324, allocations: 27.31 kB / 0.7979 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.327, allocations: 1.196 MB / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.3276, allocations: 0.7462 MB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.776e-05/0.3277, allocations: 13.08 kB / 0.7998 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.3278, allocations: 23.42 kB / 0.7999 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.382e-06/0.3278, allocations: 0 / 0.7999 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.3476, allocations: 4.546 MB / 0.8043 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.3479, allocations: 180.7 kB / 0.8045 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.131, allocations: 0 / 0.8045 GB, free: 9.844 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/linux/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) Environment - environmentSimulation: