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.001052/0.001052, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.0012/0.0012, allocations: 169 kB / 23.8 MB, free: 0.7695 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.077/1.077, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.6446/0.6446, allocations: 115 MB / 375.7 MB, free: 7.621 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.994e-06/1.994e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.245e-05, allocations: 7.25 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001987/0.00202, allocations: 1.551 MB / 483 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.002985, allocations: 0.5498 MB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.003056, allocations: 0 / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.003161, allocations: 7.5 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.003283, allocations: 24.36 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.004081, allocations: 323.8 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.00458, allocations: 492 kB / 484.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.004627, allocations: 2.906 kB / 484.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.005033, allocations: 356.6 kB / 484.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.00526, allocations: 129.5 kB / 484.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.005329, allocations: 25.81 kB / 484.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.005391, allocations: 26.69 kB / 484.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.005507, allocations: 119.3 kB / 485 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.005634, allocations: 127.3 kB / 485.2 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.005987, allocations: 382.2 kB / 485.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.005991, allocations: 0.8125 kB / 485.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005992, allocations: 0.6875 kB / 485.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.005999, allocations: 0.5 kB / 485.5 MB, free: 9.691 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.0009418/0.006941, allocations: 0.9075 MB / 486.4 MB, free: 8.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.00699, allocations: 9.125 kB / 486.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.007128, allocations: 59.66 kB / 486.5 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.007423, allocations: 259.7 kB / 486.8 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.007469, allocations: 20.8 kB / 486.8 MB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.007522, allocations: 26.02 kB / 486.8 MB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.007927, allocations: 206 kB / 487 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.007936, allocations: 1.781 kB / 487 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.00796, allocations: 1.25 kB / 487 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.007973, allocations: 6.891 kB / 487 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.008093, allocations: 66.84 kB / 487.1 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.008403, allocations: 311.9 kB / 487.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.008614, allocations: 124.6 kB / 487.5 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.008718, allocations: 72.31 kB / 487.6 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.00874, allocations: 3.5 kB / 487.6 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.008945, allocations: 185.7 kB / 487.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.008947, allocations: 0 / 487.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005727/0.00952, allocations: 374.1 kB / 488.1 MB, free: 8.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.009553, allocations: 61.03 kB / 488.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.009804, allocations: 427.8 kB / 488.6 MB, free: 7.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.009841, allocations: 41.78 kB / 488.7 MB, free: 7.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.009893, allocations: 143.3 kB / 488.8 MB, free: 7.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.009926, allocations: 33.56 kB / 488.8 MB, free: 7.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.01006, allocations: 136.1 kB / 489 MB, free: 7.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002608/0.01032, allocations: 0.4935 MB / 489.4 MB, free: 23.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.01053, allocations: 173.1 kB / 489.6 MB, free: 23.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.01073, allocations: 251.2 kB / 489.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01095, allocations: 270.4 kB / 490.1 MB, free: 22.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01096, allocations: 1.219 kB / 490.1 MB, free: 22.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005887/0.01155, allocations: 0.5725 MB / 490.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.0116, allocations: 81.44 kB / 490.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.0116, allocations: 1.406 kB / 490.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01162, allocations: 3.625 kB / 490.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01176, allocations: 34.23 kB / 490.8 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01177, allocations: 9.062 kB / 490.8 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.01196, allocations: 47.28 kB / 490.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.01202, allocations: 65.16 kB / 490.9 MB, free: 22.31 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.0001375/0.01216, allocations: 193.5 kB / 491.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.01222, allocations: 44.94 kB / 491.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.01226, allocations: 37.73 kB / 491.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01226, allocations: 1.969 kB / 491.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01227, allocations: 1.094 kB / 491.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01227, allocations: 5.156 kB / 491.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.013, allocations: 0.6742 MB / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.013, allocations: 0 / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.01304, allocations: 6.828 kB / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01304, allocations: 1.594 kB / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.01307, allocations: 22.45 kB / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01307, allocations: 1.188 kB / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01307, allocations: 0 / 491.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.0135, allocations: 461.1 kB / 492.4 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.01365, allocations: 121.2 kB / 492.5 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.0137, allocations: 21.06 kB / 492.5 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.01386, allocations: 18.38 kB / 492.5 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.01389, allocations: 15.41 kB / 492.5 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.01394, allocations: 64.81 kB / 492.6 MB, free: 21.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.01412, allocations: 273 kB / 492.9 MB, free: 21.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01412, allocations: 3.938 kB / 492.9 MB, free: 21.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01436, allocations: 68.31 kB / 492.9 MB, free: 21.22 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.0001211/0.01448, allocations: 113.5 kB / 493.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.01494, allocations: 429.5 kB / 493.5 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01494, allocations: 0 / 493.5 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.01506, allocations: 79.77 kB / 493.6 MB, free: 20.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.01533, allocations: 58.06 kB / 493.6 MB, free: 20.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.0161, allocations: 486.8 kB / 494.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.01615, allocations: 88.83 kB / 494.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.0162, allocations: 10.06 kB / 494.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01623, allocations: 17.22 kB / 494.2 MB, free: 20.47 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01623, allocations: 1.656 kB / 494.2 MB, free: 20.47 MB / 426.7 MB Notification: Performance of Templates: time 0.009546/0.02578, allocations: 6.571 MB / 0.489 GB, free: 19.09 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.694657447282225]