Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00321/0.00321, allocations: 225.3 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.235/1.235, allocations: 138.4 MB / 454.7 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5543 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.745e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002923/0.002951, allocations: 1.526 MB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004365, allocations: 0.5343 MB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.004417, allocations: 0 / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004522, allocations: 11.86 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.004637, allocations: 23.86 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.005479, allocations: 315.3 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.00607, allocations: 487.4 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.006104, allocations: 4 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.006638, allocations: 359.6 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.006955, allocations: 135.7 kB / 0.5576 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.007084, allocations: 28 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.007208, allocations: 28 kB / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.007364, allocations: 115.7 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.007559, allocations: 131.7 kB / 0.5579 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.008162, allocations: 466.6 kB / 0.5583 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.008166, allocations: 3.984 kB / 0.5583 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008167, allocations: 0 / 0.5583 GB, free: 12.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.008172, allocations: 0 / 0.5583 GB, free: 12.79 MB / 490.7 MB 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.001446/0.009618, allocations: 0.9219 MB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.009667, allocations: 12.75 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.009823, allocations: 56.69 kB / 0.5593 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.01032, allocations: 258.9 kB / 0.5595 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.01036, allocations: 12.36 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/0.01045, allocations: 32.36 kB / 0.5596 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.01108, allocations: 197.9 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.01109, allocations: 8.125 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.01111, allocations: 4.359 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.01112, allocations: 4.375 kB / 0.5598 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.01152, allocations: 79.89 kB / 0.5598 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.01203, allocations: 344.3 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.01266, allocations: 143 kB / 0.5603 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.01306, allocations: 91.64 kB / 0.5604 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.01309, allocations: 4 kB / 0.5604 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/0.01369, allocations: 216.8 kB / 0.5606 GB, free: 10.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.01369, allocations: 0 / 0.5606 GB, free: 10.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001747/0.01544, allocations: 440.7 kB / 0.561 GB, free: 9.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.0155, allocations: 59.41 kB / 0.5611 GB, free: 9.754 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.01607, allocations: 474.6 kB / 0.5615 GB, free: 9.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.01613, allocations: 41.69 kB / 0.5616 GB, free: 9.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01626, allocations: 144.2 kB / 0.5617 GB, free: 9.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.01631, allocations: 43.69 kB / 0.5618 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.01656, allocations: 143.1 kB / 0.5619 GB, free: 8.895 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.01685, allocations: 0.5001 MB / 0.5624 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.01723, allocations: 215.3 kB / 0.5626 GB, free: 8.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.01768, allocations: 289.1 kB / 0.5629 GB, free: 7.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.01816, allocations: 307.6 kB / 0.5632 GB, free: 7.496 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.01816, allocations: 4 kB / 0.5632 GB, free: 7.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001068/0.01923, allocations: 0.6172 MB / 0.5638 GB, free: 6.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/0.01933, allocations: 83.31 kB / 0.5638 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.01934, allocations: 7.984 kB / 0.5639 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01936, allocations: 4 kB / 0.5639 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.01958, allocations: 35.91 kB / 0.5639 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.01958, allocations: 3.938 kB / 0.5639 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.01993, allocations: 47.86 kB / 0.5639 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.02004, allocations: 64.17 kB / 0.564 GB, free: 6.59 MB / 490.7 MB 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.0002197/0.02026, allocations: 192.5 kB / 0.5642 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.02035, allocations: 47.7 kB / 0.5642 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.02043, allocations: 35.69 kB / 0.5643 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02043, allocations: 0 / 0.5643 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02044, allocations: 0 / 0.5643 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.02044, allocations: 3.938 kB / 0.5643 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.02216, allocations: 0.7473 MB / 0.565 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02216, allocations: 4 kB / 0.565 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.0222, allocations: 4 kB / 0.565 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.0222, allocations: 0 / 0.565 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.02225, allocations: 27.91 kB / 0.565 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02225, allocations: 4 kB / 0.565 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02225, allocations: 0 / 0.565 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.02363, allocations: 499.9 kB / 0.5655 GB, free: 4.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.02399, allocations: 133.5 kB / 0.5656 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.02407, allocations: 15.94 kB / 0.5657 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.02436, allocations: 15.98 kB / 0.5657 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.0244, allocations: 7.984 kB / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.02448, allocations: 63.97 kB / 0.5657 GB, free: 4.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.0248, allocations: 287.1 kB / 0.566 GB, free: 4.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0248, allocations: 0 / 0.566 GB, free: 4.453 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.02516, allocations: 64 kB / 0.5661 GB, free: 4.391 MB / 490.7 MB 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.0001879/0.02534, allocations: 121.2 kB / 0.5662 GB, free: 4.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.02652, allocations: 0.6024 MB / 0.5668 GB, free: 3.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02652, allocations: 0 / 0.5668 GB, free: 3.621 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.02695, allocations: 107.6 kB / 0.5669 GB, free: 3.512 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.02737, allocations: 56.56 kB / 0.5669 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02849, allocations: 495.2 kB / 0.5674 GB, free: 2.945 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.0287, allocations: 167 kB / 0.5676 GB, free: 2.762 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.02875, allocations: 9.156 kB / 0.5676 GB, free: 2.754 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.0288, allocations: 16.48 kB / 0.5676 GB, free: 2.738 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0288, allocations: 0 / 0.5676 GB, free: 2.738 MB / 490.7 MB Notification: Performance of Templates: time 0.01165/0.04045, allocations: 6.002 MB / 0.5734 GB, free: 12.67 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.035406259004958]