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.001005/0.001005, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001608/0.001608, allocations: 169 kB / 24.05 MB, free: 456 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.001/1.001, allocations: 177.1 MB / 204.5 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.6654/0.6654, allocations: 115 MB / 376 MB, free: 7.512 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 1.784e-06/1.784e-06, allocations: 0 / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.635e-05, allocations: 4.281 kB / 481.9 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002119/0.002145, allocations: 1.549 MB / 483.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.00315, allocations: 0.5404 MB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.003237, allocations: 1.094 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.00335, allocations: 8.219 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003475, allocations: 29.66 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.00423, allocations: 325.2 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.004727, allocations: 487 kB / 484.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.004769, allocations: 11.73 kB / 484.8 MB, free: 10 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.005178, allocations: 357.1 kB / 485.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.005444, allocations: 134.3 kB / 485.3 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.00551, allocations: 27.25 kB / 485.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.005573, allocations: 26.88 kB / 485.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.005676, allocations: 119.5 kB / 485.5 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.005807, allocations: 136 kB / 485.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.006153, allocations: 374 kB / 486 MB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006155, allocations: 0 / 486 MB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006156, allocations: 0 / 486 MB, free: 9.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.006165, allocations: 0 / 486 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.0009034/0.007068, allocations: 0.9137 MB / 486.9 MB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.007111, allocations: 11.09 kB / 486.9 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.007224, allocations: 59.06 kB / 487 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.007461, allocations: 263.7 kB / 487.2 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.007498, allocations: 19.16 kB / 487.3 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.007546, allocations: 28.27 kB / 487.3 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.007897, allocations: 201.4 kB / 487.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.007905, allocations: 1.25 kB / 487.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.007921, allocations: 5.109 kB / 487.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007929, allocations: 1.969 kB / 487.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.008017, allocations: 53.17 kB / 487.5 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.008257, allocations: 261.1 kB / 487.8 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.008435, allocations: 115 kB / 487.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.008519, allocations: 56.89 kB / 488 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.008548, allocations: 7.531 kB / 488 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.008729, allocations: 175.5 kB / 488.1 MB, free: 8.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.00873, allocations: 1.656 kB / 488.1 MB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005176/0.009248, allocations: 360.9 kB / 488.5 MB, free: 8.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.009273, allocations: 60.34 kB / 488.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.009499, allocations: 417.7 kB / 489 MB, free: 7.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.009533, allocations: 41.83 kB / 489 MB, free: 7.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.009579, allocations: 145.9 kB / 489.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.009613, allocations: 38.38 kB / 489.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.009742, allocations: 131.6 kB / 489.3 MB, free: 7.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.009985, allocations: 0.4935 MB / 489.8 MB, free: 23.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01015, allocations: 162.3 kB / 490 MB, free: 22.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.01031, allocations: 237.2 kB / 490.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.0105, allocations: 258.9 kB / 490.4 MB, free: 22.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.0105, allocations: 1.812 kB / 490.5 MB, free: 22.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00055/0.01105, allocations: 0.5354 MB / 491 MB, free: 22.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.01111, allocations: 83.36 kB / 491.1 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01112, allocations: 5.406 kB / 491.1 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01113, allocations: 6.75 kB / 491.1 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01125, allocations: 40.52 kB / 491.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01126, allocations: 2.188 kB / 491.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01143, allocations: 47.33 kB / 491.2 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.01149, allocations: 58.69 kB / 491.2 MB, free: 22.28 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.0001389/0.01163, allocations: 191 kB / 491.4 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.01169, allocations: 46.34 kB / 491.5 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.01173, allocations: 36.22 kB / 491.5 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01174, allocations: 7.141 kB / 491.5 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01174, allocations: 0.5312 kB / 491.5 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.01174, allocations: 2.25 kB / 491.5 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.01237, allocations: 0.6192 MB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01237, allocations: 0 / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.0124, allocations: 4.125 kB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0124, allocations: 1.188 kB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.01243, allocations: 18.36 kB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01243, allocations: 1.156 kB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01243, allocations: 7.125 kB / 492.2 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.01282, allocations: 448.6 kB / 492.6 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.01296, allocations: 120.4 kB / 492.7 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.013, allocations: 19.88 kB / 492.7 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.01318, allocations: 31.38 kB / 492.8 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.01321, allocations: 14.84 kB / 492.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.01325, allocations: 60.3 kB / 492.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.0134, allocations: 262.2 kB / 493.1 MB, free: 21.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0134, allocations: 0 / 493.1 MB, free: 21.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.01365, allocations: 63.16 kB / 493.1 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.0001125/0.01376, allocations: 114.6 kB / 493.3 MB, free: 21.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.01418, allocations: 425.4 kB / 493.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01419, allocations: 0 / 493.7 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/0.01429, allocations: 78.48 kB / 493.8 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.0002424/0.01453, allocations: 55.27 kB / 493.8 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.0152, allocations: 481.2 kB / 494.3 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.01525, allocations: 84.58 kB / 494.4 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.01529, allocations: 14.06 kB / 494.4 MB, free: 20.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.01546, allocations: 142.4 kB / 494.5 MB, free: 20.45 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01547, allocations: 0 / 494.5 MB, free: 20.45 MB / 426.7 MB Notification: Performance of Templates: time 0.007853/0.02332, allocations: 5.414 MB / 499.9 MB, free: 19.25 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.606466851197183]