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.00085/0.00085, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002079, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0008248/0.0008248, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.001995, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9203/0.9203, allocations: 177.1 MB / 189.6 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1764/1.097, allocations: 53.65 MB / 243.2 MB, free: 2.348 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6526/0.6526, allocations: 119.1 MB / 363.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06625/0.7188, allocations: 37.87 MB / 400.9 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.503e-06/1.503e-06, allocations: 0 / 402.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.537e-05, allocations: 2.312 kB / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002306/0.002331, allocations: 1.6 MB / 403.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.003272, allocations: 0.5575 MB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.003342, allocations: 4 kB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.003401, allocations: 3.938 kB / 404.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.46e-05/0.003495, allocations: 27.84 kB / 404.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.004181, allocations: 338.7 kB / 404.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.004729, allocations: 495.4 kB / 405.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.004779, allocations: 11.98 kB / 405.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.005256, allocations: 371.6 kB / 405.6 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.005505, allocations: 139.5 kB / 405.7 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.005561, allocations: 28 kB / 405.7 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.005604, allocations: 24 kB / 405.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.005698, allocations: 103.7 kB / 405.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.005798, allocations: 99.8 kB / 405.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.006135, allocations: 335 kB / 406.3 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832e-05/0.006153, allocations: 0 / 406.3 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006155, allocations: 0 / 406.3 MB, free: 9.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.006174, allocations: 0 / 406.3 MB, free: 9.938 MB / 394.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.001262/0.007436, allocations: 0.8206 MB / 407.1 MB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.007486, allocations: 11.89 kB / 407.1 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.007615, allocations: 48.88 kB / 407.2 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.007893, allocations: 240 kB / 407.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.007932, allocations: 20.36 kB / 407.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.007977, allocations: 24.36 kB / 407.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.008449, allocations: 182.7 kB / 407.6 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.008457, allocations: 192 / 407.6 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.008476, allocations: 8.359 kB / 407.6 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.008483, allocations: 384 / 407.6 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.008556, allocations: 46.86 kB / 407.7 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.008733, allocations: 116.9 kB / 407.8 MB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.008889, allocations: 98.52 kB / 407.9 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.008956, allocations: 40.84 kB / 407.9 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.008978, allocations: 0 / 407.9 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.00915, allocations: 143.2 kB / 408.1 MB, free: 8.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.009152, allocations: 4 kB / 408.1 MB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003366/0.009488, allocations: 209.2 kB / 408.3 MB, free: 7.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.009528, allocations: 55.41 kB / 408.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.009737, allocations: 335.2 kB / 408.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.009774, allocations: 41.69 kB / 408.7 MB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.009821, allocations: 101.4 kB / 408.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.009867, allocations: 35.72 kB / 408.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.009979, allocations: 117.4 kB / 408.9 MB, free: 7.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.01006, allocations: 322.8 kB / 409.2 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.01036, allocations: 151.3 kB / 409.4 MB, free: 6.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01054, allocations: 217.2 kB / 409.6 MB, free: 6.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.01078, allocations: 245.1 kB / 409.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.01079, allocations: 4 kB / 409.9 MB, free: 6.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000355/0.01115, allocations: 430.5 kB / 410.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.01121, allocations: 79.38 kB / 410.3 MB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01122, allocations: 4 kB / 410.4 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01123, allocations: 0 / 410.4 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.01137, allocations: 51.91 kB / 410.4 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01138, allocations: 0 / 410.4 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.01154, allocations: 56.03 kB / 410.5 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.01158, allocations: 47.92 kB / 410.5 MB, free: 5.391 MB / 394.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.0001253/0.01171, allocations: 148.5 kB / 410.7 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.01175, allocations: 23.97 kB / 410.7 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.0118, allocations: 35.69 kB / 410.7 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01181, allocations: 0 / 410.7 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.01181, allocations: 0 / 410.7 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01181, allocations: 3.984 kB / 410.7 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.01225, allocations: 374.7 kB / 411.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01225, allocations: 0 / 411.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.01229, allocations: 7.984 kB / 411.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.01242, allocations: 115.5 kB / 411.2 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01243, allocations: 0 / 411.2 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.01245, allocations: 15.97 kB / 411.2 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01245, allocations: 3.938 kB / 411.2 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01245, allocations: 0 / 411.2 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01266, allocations: 235.9 kB / 411.4 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.01272, allocations: 19.92 kB / 411.5 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.01289, allocations: 27.97 kB / 411.5 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.01292, allocations: 11.92 kB / 411.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.01295, allocations: 47.98 kB / 411.6 MB, free: 4.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.01305, allocations: 136.7 kB / 411.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01305, allocations: 0 / 411.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.01323, allocations: 71.98 kB / 411.8 MB, free: 4.078 MB / 394.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.0001318/0.01337, allocations: 98.41 kB / 411.9 MB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.0138, allocations: 406.5 kB / 412.3 MB, free: 3.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.01381, allocations: 4.375 kB / 412.3 MB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.0139, allocations: 60.83 kB / 412.3 MB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01411, allocations: 73.47 kB / 412.4 MB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.01538, allocations: 471.9 kB / 412.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.01543, allocations: 83.81 kB / 412.9 MB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.01547, allocations: 17.14 kB / 412.9 MB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.01563, allocations: 119.3 kB / 413.1 MB, free: 2.672 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01563, allocations: 4 kB / 413.1 MB, free: 2.668 MB / 394.7 MB Notification: Performance of Templates: time 0.006711/0.02234, allocations: 5.438 MB / 418.5 MB, free: 13.21 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4034619610756636]