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.001014/0.001014, allocations: 76.94 kB / 20.72 MB, free: 3.758 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.001446/0.001446, allocations: 169.3 kB / 24.14 MB, free: 348 kB / 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.086/1.086, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.6867/0.6867, allocations: 115 MB / 376 MB, free: 7.5 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.264e-06/2.264e-06, allocations: 0 / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.614e-05, allocations: 2.312 kB / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003142/0.003178, allocations: 1.596 MB / 430.3 MB, free: 1.188 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004381, allocations: 0.5342 MB / 430.8 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.004469, allocations: 0 / 430.8 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.004586, allocations: 7.875 kB / 430.9 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.004717, allocations: 35.78 kB / 430.9 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.005563, allocations: 323.2 kB / 431.2 MB, free: 300 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.006162, allocations: 487.4 kB / 431.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.006219, allocations: 11.94 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.006832, allocations: 351.6 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.007183, allocations: 139.7 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.007275, allocations: 24 kB / 432.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.00733, allocations: 28 kB / 432.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.00745, allocations: 119.7 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.007561, allocations: 127.7 kB / 432.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.007931, allocations: 382.8 kB / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.007934, allocations: 8 kB / 432.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.007935, allocations: 0 / 432.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.007947, allocations: 0 / 432.8 MB, free: 14.65 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.0009744/0.008921, allocations: 0.735 MB / 433.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.008963, allocations: 12.03 kB / 433.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.009057, allocations: 44.88 kB / 433.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.009336, allocations: 236.1 kB / 433.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.009377, allocations: 20.36 kB / 433.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.00942, allocations: 24.36 kB / 433.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.009764, allocations: 190.7 kB / 434.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009774, allocations: 8.172 kB / 434.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.009794, allocations: 8.359 kB / 434.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.009799, allocations: 384 / 434.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.009878, allocations: 39.92 kB / 434.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.01008, allocations: 116.9 kB / 434.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01025, allocations: 98.55 kB / 434.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.01032, allocations: 40.84 kB / 434.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.01034, allocations: 4 kB / 434.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.01052, allocations: 155.1 kB / 434.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.01053, allocations: 0 / 434.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003606/0.01089, allocations: 205.5 kB / 434.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.01092, allocations: 59.34 kB / 434.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01113, allocations: 327.3 kB / 435.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.01118, allocations: 49.69 kB / 435.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.01124, allocations: 97.42 kB / 435.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.01128, allocations: 35.73 kB / 435.3 MB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.01141, allocations: 117.4 kB / 435.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.01151, allocations: 330.7 kB / 435.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.01169, allocations: 155.3 kB / 435.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01186, allocations: 201.3 kB / 436.1 MB, free: 11.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.01208, allocations: 252.5 kB / 436.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01209, allocations: 4 kB / 436.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004531/0.01254, allocations: 432.1 kB / 436.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/0.01264, allocations: 79.38 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.01265, allocations: 0 / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.01267, allocations: 4 kB / 436.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01282, allocations: 48.09 kB / 436.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01283, allocations: 3.984 kB / 436.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.01303, allocations: 43.92 kB / 436.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.01309, allocations: 55.91 kB / 437 MB, free: 10.17 MB / 410.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.0001915/0.01328, allocations: 148.5 kB / 437.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.01333, allocations: 23.97 kB / 437.2 MB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.01338, allocations: 39.69 kB / 437.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01339, allocations: 0 / 437.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01339, allocations: 4 kB / 437.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.0134, allocations: 7.938 kB / 437.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.01396, allocations: 378.7 kB / 437.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01396, allocations: 0 / 437.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.01401, allocations: 7.984 kB / 437.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01401, allocations: 0 / 437.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.01403, allocations: 7.984 kB / 437.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01404, allocations: 0 / 437.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01404, allocations: 0 / 437.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01434, allocations: 252.6 kB / 437.9 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.01453, allocations: 123.5 kB / 438 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.01458, allocations: 12 kB / 438 MB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.01479, allocations: 31.97 kB / 438 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01483, allocations: 11.92 kB / 438 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.01488, allocations: 55.97 kB / 438.1 MB, free: 9.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.01501, allocations: 136.7 kB / 438.2 MB, free: 8.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01501, allocations: 0 / 438.2 MB, free: 8.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01531, allocations: 63.98 kB / 438.3 MB, free: 8.84 MB / 410.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.0001524/0.01546, allocations: 102.3 kB / 438.4 MB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.01595, allocations: 406.9 kB / 438.8 MB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.01596, allocations: 4 kB / 438.8 MB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01607, allocations: 65.12 kB / 438.8 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01631, allocations: 37.62 kB / 438.9 MB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.01709, allocations: 460.2 kB / 439.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.705e-05/0.01716, allocations: 87.67 kB / 439.4 MB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.01721, allocations: 17.14 kB / 439.4 MB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.01739, allocations: 115.3 kB / 439.5 MB, free: 7.469 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01739, allocations: 4 kB / 439.5 MB, free: 7.465 MB / 410.7 MB Notification: Performance of Templates: time 0.00775/0.02514, allocations: 5.413 MB / 445 MB, free: 1.941 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.980266254860908]