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.001824/0.001824, allocations: 96.7 kB / 20.21 MB, free: 4.195 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.00227/0.00227, allocations: 157.3 kB / 23.51 MB, free: 0.8984 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.9489/0.9489, allocations: 115 MB / 375.3 MB, free: 7.566 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.302e-06/1.302e-06, allocations: 0.7656 kB / 480.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.206e-05, allocations: 2.312 kB / 480.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002113/0.002135, allocations: 1.513 MB / 482.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003197, allocations: 0.5342 MB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.003245, allocations: 3.594 kB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.003339, allocations: 12.42 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003444, allocations: 24.08 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.004116, allocations: 318.8 kB / 483.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.004527, allocations: 490.5 kB / 483.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.004567, allocations: 3.062 kB / 483.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.00497, allocations: 350.6 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.005214, allocations: 130.4 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.017e-05/0.005294, allocations: 26.62 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.005369, allocations: 27.16 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.005489, allocations: 119.2 kB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.005634, allocations: 131.4 kB / 484.4 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.006047, allocations: 460.8 kB / 484.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.006052, allocations: 4.109 kB / 484.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006053, allocations: 0 / 484.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.006059, allocations: 0.75 kB / 484.8 MB, free: 9.797 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.00104/0.007098, allocations: 0.8019 MB / 485.6 MB, free: 9.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007135, allocations: 9.062 kB / 485.6 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.007299, allocations: 62.11 kB / 485.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.007614, allocations: 258.7 kB / 486 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.007662, allocations: 18.48 kB / 486 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.007737, allocations: 23.41 kB / 486 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.008717, allocations: 231.1 kB / 486.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008726, allocations: 0.8125 kB / 486.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.008758, allocations: 9.062 kB / 486.2 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.008763, allocations: 3.594 kB / 486.2 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.009544, allocations: 114 kB / 486.4 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.009862, allocations: 286.7 kB / 486.6 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.01093, allocations: 178.7 kB / 486.8 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.0117, allocations: 118.8 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.01172, allocations: 3.969 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009473/0.01267, allocations: 244.4 kB / 487.2 MB, free: 8.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01267, allocations: 1.625 kB / 487.2 MB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.002696/0.01537, allocations: 0.5182 MB / 487.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.0154, allocations: 68.22 kB / 487.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.01576, allocations: 417.3 kB / 488.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.01581, allocations: 37.42 kB / 488.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.01588, allocations: 96.39 kB / 488.3 MB, free: 7.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.01592, allocations: 50.27 kB / 488.3 MB, free: 7.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.0161, allocations: 127 kB / 488.5 MB, free: 7.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.01616, allocations: 320.6 kB / 488.8 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.01645, allocations: 192.8 kB / 489 MB, free: 7.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.01675, allocations: 246.5 kB / 489.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.01707, allocations: 275.8 kB / 489.5 MB, free: 7.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01707, allocations: 1.188 kB / 489.5 MB, free: 7.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008478/0.01792, allocations: 0.5785 MB / 490.1 MB, free: 6.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.01798, allocations: 81.72 kB / 490.1 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01799, allocations: 1.375 kB / 490.1 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.01802, allocations: 4.75 kB / 490.1 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01818, allocations: 29.34 kB / 490.2 MB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.01819, allocations: 6.812 kB / 490.2 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.01871, allocations: 67.25 kB / 490.2 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/0.0188, allocations: 61.25 kB / 490.3 MB, free: 6.742 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.0003336/0.01914, allocations: 196.5 kB / 490.5 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.01922, allocations: 44.81 kB / 490.5 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.01928, allocations: 42.95 kB / 490.6 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01928, allocations: 2.625 kB / 490.6 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01929, allocations: 0.8438 kB / 490.6 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01929, allocations: 12.62 kB / 490.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.02152, allocations: 0.711 MB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02152, allocations: 1.438 kB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.02156, allocations: 3.219 kB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.02156, allocations: 1.781 kB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.0216, allocations: 26.45 kB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.0216, allocations: 1.031 kB / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.0216, allocations: 0 / 491.3 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.02347, allocations: 0.5117 MB / 491.8 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.02369, allocations: 131.5 kB / 492 MB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.02377, allocations: 17.03 kB / 492 MB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.02427, allocations: 37.34 kB / 492 MB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.02431, allocations: 11.12 kB / 492 MB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.02437, allocations: 56.92 kB / 492.1 MB, free: 21.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.02465, allocations: 295.7 kB / 492.4 MB, free: 21.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02465, allocations: 0.5625 kB / 492.4 MB, free: 21.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.02501, allocations: 66.42 kB / 492.5 MB, free: 21.81 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.0001668/0.02518, allocations: 117.7 kB / 492.6 MB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.02648, allocations: 492.6 kB / 493 MB, free: 21.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02648, allocations: 0 / 493 MB, free: 21.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.02728, allocations: 130.1 kB / 493.2 MB, free: 21.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.02766, allocations: 51.3 kB / 493.2 MB, free: 21.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.02909, allocations: 0.58 MB / 493.8 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.02925, allocations: 164.4 kB / 494 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.02931, allocations: 14.02 kB / 494 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.02936, allocations: 23.73 kB / 494 MB, free: 21 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02936, allocations: 0 / 494 MB, free: 21 MB / 426.7 MB Notification: Performance of Templates: time 0.01163/0.04098, allocations: 5.959 MB / 500 MB, free: 19.82 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.710478323977441]