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.0007806/0.0007804, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.00513/0.00513, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.505/1.505, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.642/1.642, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005879/0.000588, allocations: 20.33 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2544, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001524/0.256, allocations: 1.221 MB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.257, allocations: 432.5 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.257, allocations: 0 / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.2571, allocations: 11.92 kB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2572, allocations: 24.22 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.2579, allocations: 238.8 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.2582, allocations: 291.9 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.2583, allocations: 11.98 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2586, allocations: 214.3 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2589, allocations: 127.5 kB / 0.7905 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.2589, allocations: 11.98 kB / 0.7905 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.259, allocations: 12 kB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.2591, allocations: 79.78 kB / 0.7906 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2593, allocations: 145.1 kB / 0.7907 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.2596, allocations: 287.2 kB / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2596, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2596, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2596, allocations: 3.938 kB / 0.791 GB, free: 8.43 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.0008744/0.2605, allocations: 0.6526 MB / 0.7916 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2605, allocations: 12.03 kB / 0.7916 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.2606, allocations: 42.55 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.2607, allocations: 35.72 kB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.261, allocations: 266.2 kB / 0.792 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.261, allocations: 15.98 kB / 0.792 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.2611, allocations: 16 kB / 0.792 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.262, allocations: 217.3 kB / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.262, allocations: 0 / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2621, allocations: 7.984 kB / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2621, allocations: 0 / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.2628, allocations: 111.9 kB / 0.7923 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.2632, allocations: 313.4 kB / 0.7926 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2642, allocations: 194.4 kB / 0.7928 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.265, allocations: 116.8 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.265, allocations: 7.938 kB / 0.7929 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.2659, allocations: 229.9 kB / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2659, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002444/0.2683, allocations: 481 kB / 0.7936 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.2684, allocations: 63.39 kB / 0.7936 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2687, allocations: 287 kB / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.2688, allocations: 37.7 kB / 0.794 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.2688, allocations: 97.06 kB / 0.7941 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.2689, allocations: 39.45 kB / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.269, allocations: 37.69 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2691, allocations: 330.8 kB / 0.7944 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2693, allocations: 79.95 kB / 0.7945 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.2695, allocations: 138.6 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.2698, allocations: 229.3 kB / 0.7949 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2698, allocations: 0 / 0.7949 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006268/0.2704, allocations: 399.6 kB / 0.7952 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.2705, allocations: 83.38 kB / 0.7953 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2705, allocations: 0 / 0.7953 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2706, allocations: 4 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2707, allocations: 19.92 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2707, allocations: 4 kB / 0.7954 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.2712, allocations: 67.8 kB / 0.7954 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.2713, allocations: 43.98 kB / 0.7955 GB, free: 3.484 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.0001682/0.2715, allocations: 169.7 kB / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2715, allocations: 27.66 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.2716, allocations: 34.23 kB / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2716, allocations: 0 / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2716, allocations: 0 / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2716, allocations: 0 / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2736, allocations: 0.7167 MB / 0.7964 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2736, allocations: 3.938 kB / 0.7964 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.2737, allocations: 8 kB / 0.7964 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2737, allocations: 4 kB / 0.7964 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.2737, allocations: 19.97 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2737, allocations: 0 / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2737, allocations: 0 / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.2754, allocations: 473.9 kB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.2756, allocations: 156.6 kB / 0.797 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.2756, allocations: 19.94 kB / 0.797 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.2761, allocations: 39.95 kB / 0.7971 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2761, allocations: 4 kB / 0.7971 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.2762, allocations: 43.97 kB / 0.7971 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001923/0.2764, allocations: 213.9 kB / 0.7973 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2764, allocations: 0 / 0.7973 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003217/0.2768, allocations: 44 kB / 0.7974 GB, free: 1.438 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.001951/0.2787, allocations: 1.022 MB / 0.7984 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.2798, allocations: 382.6 kB / 0.7987 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2799, allocations: 0 / 0.7987 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.2806, allocations: 126.5 kB / 0.7988 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.281, allocations: 24.64 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.2845, allocations: 2.46 MB / 0.8013 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2848, allocations: 0.7423 MB / 0.802 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.2849, allocations: 13.08 kB / 0.802 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.285, allocations: 23.42 kB / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.285, allocations: 0 / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.3, allocations: 4.556 MB / 0.8065 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3002, allocations: 189.9 kB / 0.8067 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.035, allocations: 0 / 0.8067 GB, free: 7.77 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)