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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008774, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 184.1 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.707/0.707, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8.5 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 77.53 MB / 0.5599 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001649/0.1899, allocations: 1.228 MB / 0.5611 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1913, allocations: 0.5968 MB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.1914, allocations: 3.938 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.1915, allocations: 7.922 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1916, allocations: 15.94 kB / 0.5618 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.1923, allocations: 290.5 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.1928, allocations: 443.4 kB / 0.5625 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.1928, allocations: 12 kB / 0.5625 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.1932, allocations: 307 kB / 0.5628 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.1935, allocations: 163.4 kB / 0.5629 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.1936, allocations: 12 kB / 0.5629 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.1936, allocations: 16 kB / 0.5629 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1938, allocations: 111.5 kB / 0.563 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.194, allocations: 204.7 kB / 0.5632 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1944, allocations: 418.6 kB / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1944, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1944, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1945, allocations: 4 kB / 0.5636 GB, free: 5.246 MB / 430.1 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.001068/0.1955, allocations: 0.7458 MB / 0.5644 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1956, allocations: 8.031 kB / 0.5644 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1957, allocations: 48.47 kB / 0.5644 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1961, allocations: 318.2 kB / 0.5647 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.1961, allocations: 20.36 kB / 0.5648 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.1962, allocations: 24.36 kB / 0.5648 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/0.1972, allocations: 222 kB / 0.565 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1972, allocations: 192 / 0.565 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.1973, allocations: 11.92 kB / 0.565 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1973, allocations: 4 kB / 0.565 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.1981, allocations: 111.9 kB / 0.5651 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1985, allocations: 397.2 kB / 0.5655 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1996, allocations: 186.5 kB / 0.5657 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.2004, allocations: 128.8 kB / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2004, allocations: 0 / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009426/0.2014, allocations: 239.1 kB / 0.566 GB, free: 2.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.2014, allocations: 0 / 0.566 GB, free: 2.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002673/0.2041, allocations: 0.5086 MB / 0.5665 GB, free: 2.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2041, allocations: 55.41 kB / 0.5666 GB, free: 2.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.2046, allocations: 413.9 kB / 0.567 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.2046, allocations: 41.7 kB / 0.567 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.2047, allocations: 93.44 kB / 0.5671 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.2048, allocations: 47.44 kB / 0.5671 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.2049, allocations: 33.7 kB / 0.5672 GB, free: 1.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.205, allocations: 322.8 kB / 0.5675 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.2053, allocations: 119.9 kB / 0.5676 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.2056, allocations: 177.9 kB / 0.5678 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.2059, allocations: 279 kB / 0.568 GB, free: 464 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.206, allocations: 4 kB / 0.568 GB, free: 460 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008126/0.2068, allocations: 490.6 kB / 0.5685 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/0.2069, allocations: 91.31 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2069, allocations: 3.938 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2069, allocations: 4 kB / 0.5686 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.2071, allocations: 19.98 kB / 0.5686 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2071, allocations: 0 / 0.5686 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.2076, allocations: 75.92 kB / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.2077, allocations: 59.97 kB / 0.5687 GB, free: 15.69 MB / 446.1 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.0002304/0.2079, allocations: 197.8 kB / 0.5689 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.208, allocations: 39.47 kB / 0.569 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.2081, allocations: 43.73 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2081, allocations: 0 / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2081, allocations: 4 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2081, allocations: 0 / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.2103, allocations: 0.7647 MB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2104, allocations: 0 / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.2104, allocations: 11.92 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2104, allocations: 4 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.2105, allocations: 19.98 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.2105, allocations: 11.92 kB / 0.5698 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2105, allocations: 0 / 0.5698 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.2128, allocations: 493 kB / 0.5703 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.2131, allocations: 196.5 kB / 0.5705 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.2132, allocations: 19.98 kB / 0.5705 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.2138, allocations: 31.97 kB / 0.5705 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2139, allocations: 7.984 kB / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.214, allocations: 63.97 kB / 0.5706 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004923/0.2145, allocations: 295.1 kB / 0.5709 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2146, allocations: 0 / 0.5709 GB, free: 13.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.2152, allocations: 64 kB / 0.5709 GB, free: 13.36 MB / 446.1 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.000201/0.2154, allocations: 124.8 kB / 0.571 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.2174, allocations: 450.5 kB / 0.5715 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2174, allocations: 0 / 0.5715 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.2186, allocations: 127.9 kB / 0.5716 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.2192, allocations: 37.44 kB / 0.5716 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2215, allocations: 0.6756 MB / 0.5723 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.2221, allocations: 0.7672 MB / 0.573 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2222, allocations: 21.02 kB / 0.5731 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.2222, allocations: 19.38 kB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2222, allocations: 0 / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01499/0.2372, allocations: 4.996 MB / 0.578 GB, free: 6 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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)