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.00101/0.00101, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001132/0.001132, allocations: 173 kB / 24.25 MB, free: 308 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.141/1.141, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.6815/0.6815, allocations: 115 MB / 376 MB, free: 7.648 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.094e-06/2.094e-06, allocations: 0 / 481.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.81e-05/4.02e-05, allocations: 2.312 kB / 481.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002194/0.002234, allocations: 1.548 MB / 483 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003282, allocations: 0.5445 MB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.003368, allocations: 1.75 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003475, allocations: 7.219 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003593, allocations: 23.53 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.004411, allocations: 329.8 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.004883, allocations: 488.5 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.004933, allocations: 3.469 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.005405, allocations: 350 kB / 484.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.005677, allocations: 127.3 kB / 484.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.00574, allocations: 27.38 kB / 484.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.005797, allocations: 26.78 kB / 484.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.00591, allocations: 119.4 kB / 485 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.006047, allocations: 132.6 kB / 485.2 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.006433, allocations: 377.7 kB / 485.5 MB, free: 9.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.006438, allocations: 5.219 kB / 485.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.00644, allocations: 0 / 485.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.006451, allocations: 1 kB / 485.5 MB, free: 9.805 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.001112/0.007563, allocations: 0.9094 MB / 486.4 MB, free: 9.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.007608, allocations: 9.531 kB / 486.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.007767, allocations: 58.42 kB / 486.5 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.008063, allocations: 261.2 kB / 486.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.008103, allocations: 13.61 kB / 486.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.008151, allocations: 33.44 kB / 486.8 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.008535, allocations: 205.2 kB / 487 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.008543, allocations: 192 / 487 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.008565, allocations: 1.438 kB / 487 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.008574, allocations: 3.5 kB / 487 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.008689, allocations: 68.78 kB / 487.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.009026, allocations: 305.3 kB / 487.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.009249, allocations: 126.8 kB / 487.5 MB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.009356, allocations: 64 kB / 487.6 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.009379, allocations: 2.062 kB / 487.6 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.009599, allocations: 189.5 kB / 487.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.009602, allocations: 0 / 487.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006768/0.01028, allocations: 377 kB / 488.1 MB, free: 8.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.01032, allocations: 63.31 kB / 488.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.01062, allocations: 427 kB / 488.6 MB, free: 7.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.01067, allocations: 47.44 kB / 488.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.01072, allocations: 135 kB / 488.8 MB, free: 7.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.01076, allocations: 40.61 kB / 488.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.0109, allocations: 133.8 kB / 489 MB, free: 7.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01118, allocations: 0.4908 MB / 489.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.01143, allocations: 181.5 kB / 489.6 MB, free: 23.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.01164, allocations: 246 kB / 489.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.0119, allocations: 273.1 kB / 490.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.0119, allocations: 0 / 490.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006066/0.01251, allocations: 0.5652 MB / 490.7 MB, free: 22.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.01256, allocations: 78.89 kB / 490.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01257, allocations: 2.094 kB / 490.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01258, allocations: 3.906 kB / 490.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01272, allocations: 35.41 kB / 490.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.01273, allocations: 6.562 kB / 490.8 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.01295, allocations: 53.86 kB / 490.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.01302, allocations: 64.8 kB / 490.9 MB, free: 22.43 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.0001441/0.01316, allocations: 195.9 kB / 491.1 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.01322, allocations: 48.02 kB / 491.2 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.01327, allocations: 38.05 kB / 491.2 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01327, allocations: 1.938 kB / 491.2 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01328, allocations: 1.062 kB / 491.2 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01329, allocations: 3.938 kB / 491.2 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.01404, allocations: 0.6692 MB / 491.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01405, allocations: 0 / 491.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.01408, allocations: 9.188 kB / 491.9 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01408, allocations: 1.344 kB / 491.9 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.01411, allocations: 25.08 kB / 491.9 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01411, allocations: 2 kB / 491.9 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01412, allocations: 0 / 491.9 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.01458, allocations: 465.6 kB / 492.4 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.01474, allocations: 122.2 kB / 492.5 MB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.01479, allocations: 13.06 kB / 492.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.01496, allocations: 23.98 kB / 492.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.015, allocations: 6.766 kB / 492.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.01505, allocations: 61.31 kB / 492.6 MB, free: 21.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.01524, allocations: 271.5 kB / 492.9 MB, free: 21.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01524, allocations: 2.438 kB / 492.9 MB, free: 21.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.01552, allocations: 66.11 kB / 492.9 MB, free: 21.35 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.0001241/0.01565, allocations: 113 kB / 493 MB, free: 21.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005278/0.01618, allocations: 429.4 kB / 493.5 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01618, allocations: 1.375 kB / 493.5 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.01631, allocations: 83.81 kB / 493.5 MB, free: 21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.0166, allocations: 57.19 kB / 493.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008323/0.01743, allocations: 485.7 kB / 494.1 MB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.0175, allocations: 85.94 kB / 494.2 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.01754, allocations: 16.84 kB / 494.2 MB, free: 20.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.01758, allocations: 20.7 kB / 494.2 MB, free: 20.59 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01758, allocations: 0 / 494.2 MB, free: 20.59 MB / 426.7 MB Notification: Performance of Templates: time 0.009611/0.02719, allocations: 5.963 MB / 0.4884 GB, free: 19.35 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.7659751009196043]