Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 196.3 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.45 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4104, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00284/0.4133, allocations: 1.571 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4147, allocations: 0.5905 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.4147, allocations: 7.875 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.4149, allocations: 3.984 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.415, allocations: 23.86 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.4157, allocations: 298.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.4161, allocations: 443.4 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.4162, allocations: 7.984 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.4166, allocations: 307 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.4169, allocations: 163.4 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.417, allocations: 16 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.4171, allocations: 12 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.4173, allocations: 115.4 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.4175, allocations: 182.8 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.4179, allocations: 414.9 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4179, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.418, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.418, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 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.00134/0.4193, allocations: 0.8743 MB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4194, allocations: 8.031 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.4195, allocations: 52.45 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.4199, allocations: 310.2 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.4199, allocations: 20.38 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.42, allocations: 28.36 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4211, allocations: 210 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4211, allocations: 8.188 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.4212, allocations: 3.938 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4212, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.422, allocations: 103.9 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.4225, allocations: 393.1 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.4236, allocations: 186.4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.4244, allocations: 105.2 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.4245, allocations: 7.984 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.4255, allocations: 227.1 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.4255, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002739/0.4283, allocations: 491.3 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.4284, allocations: 59.39 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.4289, allocations: 409.9 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.429, allocations: 41.69 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.4291, allocations: 89.45 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.4291, allocations: 43.45 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4293, allocations: 137.2 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4294, allocations: 322.8 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4297, allocations: 119.9 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.43, allocations: 170.5 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.4304, allocations: 282.8 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4304, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008241/0.4312, allocations: 498.5 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.4313, allocations: 91.31 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4314, allocations: 0 / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4314, allocations: 7.938 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4316, allocations: 23.92 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4316, allocations: 0 / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.4321, allocations: 63.78 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.4322, allocations: 64.05 kB / 1.077 GB, free: 1.125 MB / 0.8262 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.0002547/0.4325, allocations: 193.7 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.4326, allocations: 43.45 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.4326, allocations: 39.75 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.4326, allocations: 0 / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4327, allocations: 4 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4327, allocations: 0 / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.435, allocations: 0.744 MB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.435, allocations: 4 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.435, allocations: 4 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.435, allocations: 0 / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.4351, allocations: 23.97 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4351, allocations: 8 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4351, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.437, allocations: 478.7 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.4372, allocations: 200.5 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.4373, allocations: 11.94 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.4378, allocations: 31.22 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4379, allocations: 7.984 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.4379, allocations: 63.97 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003147/0.4383, allocations: 295.1 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4383, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003887/0.4387, allocations: 67.98 kB / 1.079 GB, free: 14.84 MB / 0.8419 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.0001973/0.4389, allocations: 129.4 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.4402, allocations: 432 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4402, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.441, allocations: 120.2 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4414, allocations: 35.59 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4431, allocations: 0.6586 MB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4435, allocations: 0.771 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.4436, allocations: 17.03 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.4437, allocations: 23.42 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4437, allocations: 0 / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.009884/0.4536, allocations: 5.027 MB / 1.086 GB, free: 7.453 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)