Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001325/0.001325, allocations: 81.86 kB / 21.44 MB, free: 3.062 MB / 18.57 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.001682/0.001682, allocations: 168.7 kB / 24.84 MB, free: 8.91 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6655/0.6655, allocations: 115 MB / 376.8 MB, free: 7.508 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 3.5 kB / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.781e-05, allocations: 5.812 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002405/0.002433, allocations: 1.534 MB / 484.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003548, allocations: 0.5399 MB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.00361, allocations: 3.938 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.305e-05/0.003683, allocations: 12.16 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.003781, allocations: 23.42 kB / 484.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.004454, allocations: 325 kB / 485.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.004907, allocations: 488.3 kB / 485.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.004944, allocations: 3.312 kB / 485.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.005406, allocations: 359.2 kB / 486 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.00567, allocations: 127.2 kB / 486.1 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.005739, allocations: 25.69 kB / 486.1 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.005801, allocations: 26.78 kB / 486.1 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.005911, allocations: 124 kB / 486.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.006046, allocations: 129.7 kB / 486.4 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.006392, allocations: 375.8 kB / 486.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006395, allocations: 0 / 486.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.006397, allocations: 1.812 kB / 486.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006401, allocations: 0 / 486.8 MB, free: 9.574 MB / 410.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.0009016/0.007303, allocations: 0.9145 MB / 487.7 MB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.007334, allocations: 9.094 kB / 487.7 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.007456, allocations: 55.89 kB / 487.7 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.007729, allocations: 266.9 kB / 488 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.007771, allocations: 15.7 kB / 488 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.007843, allocations: 30.97 kB / 488 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.008243, allocations: 193.6 kB / 488.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.008252, allocations: 192 / 488.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.008275, allocations: 7 kB / 488.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.008281, allocations: 1.562 kB / 488.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.008414, allocations: 58.08 kB / 488.3 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.008726, allocations: 250.7 kB / 488.5 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.008963, allocations: 124.4 kB / 488.7 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.009105, allocations: 57.27 kB / 488.7 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.009126, allocations: 6.656 kB / 488.7 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.009381, allocations: 179.8 kB / 488.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.009383, allocations: 0.75 kB / 488.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007594/0.01014, allocations: 359.5 kB / 489.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.01018, allocations: 60.56 kB / 489.3 MB, free: 8.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.01066, allocations: 416 kB / 489.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.0107, allocations: 42.27 kB / 489.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.01076, allocations: 142.1 kB / 489.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.0108, allocations: 44.78 kB / 489.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.01094, allocations: 133.4 kB / 490.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01108, allocations: 0.4966 MB / 490.6 MB, free: 23.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.01132, allocations: 159.2 kB / 490.7 MB, free: 22.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.01159, allocations: 237 kB / 491 MB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.01187, allocations: 258.2 kB / 491.2 MB, free: 22.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.01187, allocations: 1.656 kB / 491.2 MB, free: 22.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007949/0.01267, allocations: 0.5383 MB / 491.7 MB, free: 22.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.01274, allocations: 81 kB / 491.8 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.01275, allocations: 3.5 kB / 491.8 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01276, allocations: 2.219 kB / 491.8 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01292, allocations: 34.09 kB / 491.9 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01292, allocations: 6.594 kB / 491.9 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.0132, allocations: 50.53 kB / 491.9 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.0133, allocations: 57.27 kB / 492 MB, free: 22.29 MB / 426.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.000196/0.0135, allocations: 196 kB / 492.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.01358, allocations: 44.28 kB / 492.2 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.01364, allocations: 40.88 kB / 492.3 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01365, allocations: 2.125 kB / 492.3 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01365, allocations: 0.6875 kB / 492.3 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01366, allocations: 4.203 kB / 492.3 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.0145, allocations: 0.6061 MB / 492.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.0145, allocations: 1.812 kB / 492.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.01454, allocations: 18.05 kB / 492.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01454, allocations: 1.094 kB / 492.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.01457, allocations: 19.14 kB / 492.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01457, allocations: 4.344 kB / 492.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01457, allocations: 3.938 kB / 492.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.01511, allocations: 444.4 kB / 493.3 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.01537, allocations: 123.7 kB / 493.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.01544, allocations: 9.344 kB / 493.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.01569, allocations: 24.59 kB / 493.5 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.01573, allocations: 12.22 kB / 493.5 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.0158, allocations: 60.36 kB / 493.6 MB, free: 21.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.01597, allocations: 262.5 kB / 493.8 MB, free: 21.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 1.438 kB / 493.8 MB, free: 21.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.01639, allocations: 62.69 kB / 493.9 MB, free: 21.25 MB / 426.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.0001825/0.01657, allocations: 121 kB / 494 MB, free: 21.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006692/0.01724, allocations: 413 kB / 494.4 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01724, allocations: 1.469 kB / 494.4 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.0174, allocations: 75.34 kB / 494.5 MB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.01782, allocations: 49.7 kB / 494.5 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.01875, allocations: 481.1 kB / 495 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.01881, allocations: 86.48 kB / 495.1 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.01887, allocations: 12.92 kB / 495.1 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.01905, allocations: 143.9 kB / 495.2 MB, free: 20.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01905, allocations: 0 / 495.2 MB, free: 20.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01001/0.02906, allocations: 5.585 MB / 0.4891 GB, free: 19.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.63943287730217]