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.001967/0.001967, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002042/0.002042, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.64/1.64, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 1.045/1.045, allocations: 115 MB / 375.3 MB, free: 7.562 MB / 346.7 MB " [Timeout remaining time 178] 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.853e-06/1.853e-06, allocations: 0 / 480.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.55e-05, allocations: 6.828 kB / 480.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.0027/0.002735, allocations: 1.526 MB / 482.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004039, allocations: 0.5308 MB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.004099, allocations: 1.062 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.004215, allocations: 11.2 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.00434, allocations: 35.42 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.00513, allocations: 317.3 kB / 483.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.005627, allocations: 488.7 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.005679, allocations: 6.906 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.006195, allocations: 352.5 kB / 484 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.006494, allocations: 127.6 kB / 484.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.006625, allocations: 27.47 kB / 484.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.006757, allocations: 28 kB / 484.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.006922, allocations: 121.3 kB / 484.3 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.007098, allocations: 127.2 kB / 484.4 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.007716, allocations: 462.4 kB / 484.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.00772, allocations: 1.062 kB / 484.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.007722, allocations: 0 / 484.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.007731, allocations: 0 / 484.8 MB, free: 9.711 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.001355/0.009086, allocations: 0.9229 MB / 485.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.00913, allocations: 10.03 kB / 485.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.009288, allocations: 59.36 kB / 485.8 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.009723, allocations: 262.2 kB / 486.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.009771, allocations: 17.19 kB / 486.1 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.009866, allocations: 30.7 kB / 486.1 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.01047, allocations: 195.4 kB / 486.3 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01048, allocations: 1.375 kB / 486.3 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.01051, allocations: 7.062 kB / 486.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01052, allocations: 1.562 kB / 486.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.01091, allocations: 85 kB / 486.4 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.01134, allocations: 335.9 kB / 486.8 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.01194, allocations: 149.3 kB / 486.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.0123, allocations: 93.47 kB / 487 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.01234, allocations: 3.938 kB / 487 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.01287, allocations: 221.5 kB / 487.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01287, allocations: 0 / 487.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001559/0.01443, allocations: 426.2 kB / 487.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.01447, allocations: 68.08 kB / 487.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.01512, allocations: 466.5 kB / 488.1 MB, free: 23.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.01518, allocations: 42.94 kB / 488.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01532, allocations: 143.2 kB / 488.3 MB, free: 23.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.01536, allocations: 46.58 kB / 488.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.01558, allocations: 142.3 kB / 488.5 MB, free: 23.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.01588, allocations: 0.4969 MB / 489 MB, free: 23.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.01621, allocations: 214.2 kB / 489.2 MB, free: 22.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.01657, allocations: 283.9 kB / 489.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.01698, allocations: 310.3 kB / 489.8 MB, free: 22.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01699, allocations: 1.156 kB / 489.8 MB, free: 22.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009897/0.01798, allocations: 0.6152 MB / 490.4 MB, free: 22.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.01805, allocations: 83.08 kB / 490.5 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.01806, allocations: 1.625 kB / 490.5 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.01808, allocations: 3.25 kB / 490.5 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.0183, allocations: 38.05 kB / 490.5 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.01831, allocations: 11.8 kB / 490.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.01871, allocations: 42.14 kB / 490.6 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.01882, allocations: 67.38 kB / 490.7 MB, free: 22.14 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.0002584/0.01908, allocations: 189.3 kB / 490.8 MB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.01916, allocations: 49.09 kB / 490.9 MB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.01923, allocations: 32.78 kB / 490.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01923, allocations: 2.375 kB / 490.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01924, allocations: 4.969 kB / 490.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01925, allocations: 8.219 kB / 490.9 MB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.02086, allocations: 0.741 MB / 491.7 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02086, allocations: 0 / 491.7 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.0209, allocations: 7.719 kB / 491.7 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.0209, allocations: 3.031 kB / 491.7 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.02094, allocations: 22.77 kB / 491.7 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02094, allocations: 5.219 kB / 491.7 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02094, allocations: 0 / 491.7 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.02204, allocations: 0.4984 MB / 492.2 MB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.02233, allocations: 122 kB / 492.3 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.0224, allocations: 13.25 kB / 492.3 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.02269, allocations: 21.17 kB / 492.4 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.02274, allocations: 12.92 kB / 492.4 MB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.02283, allocations: 59.75 kB / 492.4 MB, free: 21.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.02314, allocations: 293.1 kB / 492.7 MB, free: 21.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02314, allocations: 0 / 492.7 MB, free: 21.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004107/0.02355, allocations: 66.02 kB / 492.8 MB, free: 21.01 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.0001572/0.02371, allocations: 116.5 kB / 492.9 MB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.02487, allocations: 0.5903 MB / 493.5 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02488, allocations: 0 / 493.5 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.02527, allocations: 107 kB / 493.6 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.02567, allocations: 53.19 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.02671, allocations: 0.4885 MB / 494.1 MB, free: 20.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.02687, allocations: 160.2 kB / 494.3 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.02693, allocations: 15.52 kB / 494.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.02698, allocations: 17.55 kB / 494.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02698, allocations: 1.156 kB / 494.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01099/0.03797, allocations: 5.967 MB / 0.4886 GB, free: 19.03 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: 6.034200477064587]