Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 288.4 MB / 303.6 MB, free: 7.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 178 kB / 372.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.4 MB / 0.631 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007317/0.0007318, allocations: 98.86 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004355, allocations: 15.31 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001569/0.2107, allocations: 1.187 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.2115, allocations: 408 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.2116, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.476e-05/0.2117, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2118, allocations: 23.86 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.2125, allocations: 213.6 kB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2128, allocations: 243.5 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.2129, allocations: 4 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.2132, allocations: 215.6 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2134, allocations: 131.7 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.2135, allocations: 12 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.2136, allocations: 12 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.2137, allocations: 87.77 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2138, allocations: 141.2 kB / 0.9828 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.214, allocations: 203.9 kB / 0.983 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.214, allocations: 3.938 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.214, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.2141, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 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.001091/0.2152, allocations: 0.6104 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2152, allocations: 12.03 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.2153, allocations: 38.69 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.2154, allocations: 40.58 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.2157, allocations: 259.6 kB / 0.9839 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.2157, allocations: 16.36 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.2158, allocations: 12.38 kB / 0.9839 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.2161, allocations: 151.3 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2161, allocations: 3.938 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2161, allocations: 4 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2161, allocations: 4 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2163, allocations: 47.91 kB / 0.9841 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2166, allocations: 317.3 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.2168, allocations: 122.7 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.217, allocations: 60.83 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.217, allocations: 7.938 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.2174, allocations: 218.1 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.2174, allocations: 4 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005217/0.218, allocations: 269.1 kB / 0.9851 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.218, allocations: 63.41 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.2182, allocations: 283 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.2183, allocations: 45.64 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.2183, allocations: 101 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2184, allocations: 35.61 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.2184, allocations: 8 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.2185, allocations: 318.8 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2187, allocations: 96.17 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2189, allocations: 150.4 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.2192, allocations: 243.9 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2192, allocations: 0 / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005777/0.2198, allocations: 413.7 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.2198, allocations: 75.39 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2198, allocations: 4.188 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2199, allocations: 7.938 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.22, allocations: 27.91 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.22, allocations: 4 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.2206, allocations: 79.67 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.2206, allocations: 55.98 kB / 0.987 GB, free: 19.95 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.2208, allocations: 179 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.2208, allocations: 23.72 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.2209, allocations: 34.25 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2209, allocations: 3.938 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2209, allocations: 0 / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2209, allocations: 3.938 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.2216, allocations: 0.5694 MB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2216, allocations: 4 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.2216, allocations: 7.984 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2217, allocations: 0 / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2217, allocations: 11.98 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2217, allocations: 0 / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2217, allocations: 0 / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.222, allocations: 332.7 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.2222, allocations: 156.6 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.2222, allocations: 8 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2224, allocations: 11.98 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.2225, allocations: 19.97 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2225, allocations: 27.98 kB / 0.9883 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001315/0.2227, allocations: 209.9 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2227, allocations: 0 / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002874/0.223, allocations: 48 kB / 0.9886 GB, free: 18.22 MB / 0.6198 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 (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.0005583/0.2236, allocations: 0.866 MB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.224, allocations: 347.8 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.224, allocations: 4 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2242, allocations: 68.34 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2245, allocations: 31.86 kB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2261, allocations: 1.164 MB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.2263, allocations: 0.7439 MB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.2264, allocations: 37.42 kB / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2266, allocations: 43.41 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2266, allocations: 4 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4192/0.6458, allocations: 5.016 MB / 0.9967 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.6461, allocations: 199.7 kB / 0.9969 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.832, allocations: 0 / 0.9969 GB, free: 9.664 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)