Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007193/0.0007193, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004193/0.004193, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.215/1.215, 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 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.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.00045/0.00045, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3904, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001462/0.3919, allocations: 1.202 MB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.3927, allocations: 447.3 kB / 0.7303 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.3928, allocations: 0 / 0.7303 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.3929, allocations: 7.938 kB / 0.7303 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.393, allocations: 20.28 kB / 0.7303 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3936, allocations: 225.4 kB / 0.7306 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.3939, allocations: 287.9 kB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.394, allocations: 11.98 kB / 0.7308 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3943, allocations: 210.3 kB / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3945, allocations: 123.6 kB / 0.7312 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3946, allocations: 12 kB / 0.7312 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.3946, allocations: 12 kB / 0.7312 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.3947, allocations: 67.78 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3949, allocations: 149 kB / 0.7314 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.3952, allocations: 281 kB / 0.7317 GB, free: 8.215 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3952, allocations: 0 / 0.7317 GB, free: 8.215 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3952, allocations: 0 / 0.7317 GB, free: 8.215 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3952, allocations: 0 / 0.7317 GB, free: 8.215 MB / 0.545 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.0009958/0.3962, allocations: 0.618 MB / 0.7323 GB, free: 7.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3962, allocations: 12.03 kB / 0.7323 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.3963, allocations: 31.62 kB / 0.7323 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3966, allocations: 262.3 kB / 0.7325 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.3967, allocations: 11.94 kB / 0.7326 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.3967, allocations: 20 kB / 0.7326 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.397, allocations: 145.5 kB / 0.7327 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.397, allocations: 3.938 kB / 0.7327 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.3971, allocations: 4 kB / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3971, allocations: 4 kB / 0.7327 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3972, allocations: 47.97 kB / 0.7328 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.3976, allocations: 305.4 kB / 0.7331 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3978, allocations: 126.7 kB / 0.7332 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.398, allocations: 61.2 kB / 0.7332 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.398, allocations: 7.984 kB / 0.7333 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.3985, allocations: 229.8 kB / 0.7335 GB, free: 6.164 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.3985, allocations: 0 / 0.7335 GB, free: 6.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005814/0.3991, allocations: 267.5 kB / 0.7337 GB, free: 5.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3991, allocations: 63.39 kB / 0.7338 GB, free: 5.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.3994, allocations: 290.9 kB / 0.7341 GB, free: 5.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.3995, allocations: 37.7 kB / 0.7341 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.3996, allocations: 93.12 kB / 0.7342 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.3996, allocations: 51.38 kB / 0.7342 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.3997, allocations: 33.7 kB / 0.7343 GB, free: 5.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3998, allocations: 330.8 kB / 0.7346 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4, allocations: 92.17 kB / 0.7347 GB, free: 4.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.4003, allocations: 151.8 kB / 0.7348 GB, free: 4.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.4006, allocations: 243.4 kB / 0.7351 GB, free: 4.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4006, allocations: 0 / 0.7351 GB, free: 4.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006704/0.4013, allocations: 411.4 kB / 0.7354 GB, free: 4.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.4014, allocations: 79.38 kB / 0.7355 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4014, allocations: 4.188 kB / 0.7355 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4014, allocations: 7.938 kB / 0.7355 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4016, allocations: 23.98 kB / 0.7356 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4016, allocations: 3.938 kB / 0.7356 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.4021, allocations: 75.84 kB / 0.7356 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.4022, allocations: 51.98 kB / 0.7357 GB, free: 3.766 MB / 0.545 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 (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,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.4024, allocations: 173.7 kB / 0.7358 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.4024, allocations: 27.62 kB / 0.7359 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.4025, allocations: 30.25 kB / 0.7359 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4025, allocations: 3.938 kB / 0.7359 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4025, allocations: 7.938 kB / 0.7359 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4025, allocations: 3.984 kB / 0.7359 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007516/0.4033, allocations: 0.5529 MB / 0.7365 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4033, allocations: 0 / 0.7365 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.4034, allocations: 15.94 kB / 0.7365 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4034, allocations: 3.984 kB / 0.7365 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.4034, allocations: 11.98 kB / 0.7365 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4034, allocations: 0 / 0.7365 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4034, allocations: 0 / 0.7365 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.4038, allocations: 325 kB / 0.7368 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.404, allocations: 156.7 kB / 0.7369 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.404, allocations: 15.98 kB / 0.737 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4042, allocations: 8 kB / 0.737 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4043, allocations: 19.97 kB / 0.737 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.4043, allocations: 27.98 kB / 0.737 GB, free: 2.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001685/0.4045, allocations: 209.9 kB / 0.7372 GB, free: 2.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4045, allocations: 0 / 0.7372 GB, free: 2.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003002/0.4048, allocations: 48 kB / 0.7373 GB, free: 2.055 MB / 0.545 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 (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.0001303/0.405, allocations: 121.5 kB / 0.7374 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.4055, allocations: 346.5 kB / 0.7377 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4055, allocations: 0 / 0.7377 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4056, allocations: 63.97 kB / 0.7378 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.406, allocations: 28.81 kB / 0.7378 GB, free: 1.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.4066, allocations: 484.3 kB / 0.7383 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4069, allocations: 0.7476 MB / 0.739 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.407, allocations: 33.42 kB / 0.739 GB, free: 168 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4072, allocations: 35.42 kB / 0.7391 GB, free: 132 kB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.4072, allocations: 0 / 0.7391 GB, free: 132 kB / 0.545 GB Notification: Performance of Templates: time 0.006872/0.4141, allocations: 4.008 MB / 0.743 GB, free: 12.14 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: