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.754/1.754, allocations: 288.4 MB / 303.3 MB, free: 8.07 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.0009964/0.0009964, allocations: 183 kB / 372 MB, free: 10.26 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.747/1.747, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0009331/0.0009335, allocations: 80.67 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 10.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001749/0.2378, allocations: 1.179 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.2388, allocations: 408 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.2389, allocations: 4 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.239, allocations: 7.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2391, allocations: 23.91 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.2399, allocations: 203.8 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2402, allocations: 243.5 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.2402, allocations: 11.98 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.2406, allocations: 219.6 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.2408, allocations: 131.7 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.2409, allocations: 12 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.2409, allocations: 8 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.241, allocations: 83.77 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.2411, allocations: 69.58 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2413, allocations: 199.8 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2413, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2413, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.2413, allocations: 0 / 0.9823 GB, free: 24.77 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.001092/0.2424, allocations: 0.6142 MB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2425, allocations: 12.02 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.2425, allocations: 42.55 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.2426, allocations: 31.72 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.2429, allocations: 258.4 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.243, allocations: 15.94 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.243, allocations: 12 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.2433, allocations: 153.5 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2433, allocations: 0 / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2433, allocations: 3.984 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2433, allocations: 4 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2435, allocations: 43.97 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.2438, allocations: 317.3 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.244, allocations: 126.7 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2442, allocations: 60.83 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2442, allocations: 4 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.2446, allocations: 225.8 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.2447, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005314/0.2452, allocations: 266.6 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2452, allocations: 67.38 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2455, allocations: 290.8 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.2455, allocations: 37.7 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.2456, allocations: 93.14 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2457, allocations: 39.5 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.2457, allocations: 12 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.2458, allocations: 326.8 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.246, allocations: 96.17 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.2462, allocations: 138.4 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.2464, allocations: 161.8 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2464, allocations: 0 / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00058/0.247, allocations: 406.2 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.2471, allocations: 75.38 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2471, allocations: 4 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2471, allocations: 4.188 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2473, allocations: 31.92 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2473, allocations: 0 / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.2478, allocations: 87.7 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.2479, allocations: 47.98 kB / 0.9863 GB, free: 20.43 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.0001501/0.248, allocations: 181.7 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.2481, allocations: 27.62 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.2481, allocations: 34.17 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2481, allocations: 4 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2482, allocations: 0 / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2482, allocations: 3.984 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.2488, allocations: 0.5618 MB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2488, allocations: 4 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.2489, allocations: 8 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2489, allocations: 7.922 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2489, allocations: 15.98 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2489, allocations: 0 / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2489, allocations: 0 / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.2492, allocations: 316.3 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2494, allocations: 152.7 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.2494, allocations: 15.98 kB / 0.9876 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2496, allocations: 12 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.2497, allocations: 15.97 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2497, allocations: 31.98 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001412/0.2499, allocations: 209.9 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2499, allocations: 0 / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002785/0.2502, allocations: 51.98 kB / 0.9879 GB, free: 18.69 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.0006033/0.2508, allocations: 0.8714 MB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.2512, allocations: 342.7 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2513, allocations: 0 / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2514, allocations: 71.91 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.2517, allocations: 21.88 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2533, allocations: 1.175 MB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.2535, allocations: 0.7438 MB / 0.991 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.2536, allocations: 37.42 kB / 0.991 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2538, allocations: 47.48 kB / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2538, allocations: 0 / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2701, allocations: 5.015 MB / 0.996 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.2702, allocations: 183.9 kB / 0.9962 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.06, allocations: 4 kB / 0.9962 GB, free: 10.15 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)