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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 185.2 kB / 7.8 MB, free: 2.332 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4294/0.4294, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 106.4 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.043e-06, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 72.29 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3815, allocations: 103.4 MB / 0.6539 GB, free: 5.242 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.3819, allocations: 67.97 kB / 0.6539 GB, free: 5.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02777/0.4097, allocations: 4.262 MB / 0.6581 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.4097, allocations: 4 kB / 0.6581 GB, free: 0.9375 MB / 474.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.0012/0.411, allocations: 0.6288 MB / 0.6587 GB, free: 232 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.411, allocations: 8.031 kB / 0.6587 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.4113, allocations: 31.7 kB / 0.6587 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.4119, allocations: 259.1 kB / 0.659 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.4119, allocations: 8 kB / 0.659 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4121, allocations: 15.91 kB / 0.659 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002188/0.4123, allocations: 47.98 kB / 0.6591 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.4127, allocations: 145.5 kB / 0.6592 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4128, allocations: 0 / 0.6592 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.4128, allocations: 0 / 0.6592 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4128, allocations: 0 / 0.6592 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.4135, allocations: 301.9 kB / 0.6595 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4138, allocations: 106.6 kB / 0.6596 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4141, allocations: 61.09 kB / 0.6596 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.4141, allocations: 4 kB / 0.6597 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.4144, allocations: 151.3 kB / 0.6598 GB, free: 15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.4144, allocations: 0 / 0.6598 GB, free: 15 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.000518/0.4149, allocations: 185.2 kB / 0.66 GB, free: 14.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.415, allocations: 60.06 kB / 0.66 GB, free: 14.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4153, allocations: 247.4 kB / 0.6603 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.4153, allocations: 33.7 kB / 0.6603 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.4154, allocations: 89.14 kB / 0.6604 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.4155, allocations: 43.39 kB / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.4155, allocations: 4 kB / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4156, allocations: 322.8 kB / 0.6607 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.4159, allocations: 77.19 kB / 0.6608 GB, free: 13.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4161, allocations: 130 kB / 0.6609 GB, free: 13.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4163, allocations: 67.91 kB / 0.661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4163, allocations: 4 kB / 0.661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006323/0.417, allocations: 260.3 kB / 0.6613 GB, free: 13.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.417, allocations: 8 kB / 0.6613 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.417, allocations: 3.906 kB / 0.6613 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.417, allocations: 4 kB / 0.6613 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.4172, allocations: 19.92 kB / 0.6613 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4172, allocations: 4 kB / 0.6613 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.4177, allocations: 47.94 kB / 0.6613 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.4178, allocations: 43.98 kB / 0.6614 GB, free: 13.31 MB / 490.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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.4179, allocations: 128 kB / 0.6615 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.418, allocations: 28.28 kB / 0.6615 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.4181, allocations: 26.02 kB / 0.6616 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4181, allocations: 8 kB / 0.6616 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4181, allocations: 4 kB / 0.6616 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4181, allocations: 0 / 0.6616 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.4189, allocations: 0.4909 MB / 0.662 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4189, allocations: 0 / 0.662 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.419, allocations: 4.656 kB / 0.662 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.419, allocations: 3.984 kB / 0.662 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.4191, allocations: 19.98 kB / 0.6621 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4191, allocations: 3.906 kB / 0.6621 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4191, allocations: 4 kB / 0.6621 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00039/0.4195, allocations: 278 kB / 0.6623 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.4197, allocations: 164.6 kB / 0.6625 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.4198, allocations: 16.73 kB / 0.6625 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.4204, allocations: 35.97 kB / 0.6625 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4204, allocations: 4 kB / 0.6626 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.4205, allocations: 43.97 kB / 0.6626 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002002/0.4207, allocations: 203.1 kB / 0.6628 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.4211, allocations: 40 kB / 0.6628 GB, free: 11.75 MB / 490.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.4213, allocations: 117 kB / 0.6629 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.4218, allocations: 251.2 kB / 0.6632 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4218, allocations: 1.5 kB / 0.6632 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4219, allocations: 63.98 kB / 0.6632 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4222, allocations: 24.53 kB / 0.6633 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.4229, allocations: 281.3 kB / 0.6635 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.4233, allocations: 0.7656 MB / 0.6643 GB, free: 10.19 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4233, allocations: 0 / 0.6643 GB, free: 10.19 MB / 490.7 MB Notification: Performance of Templates: time 0.007705/0.431, allocations: 3.919 MB / 0.6681 GB, free: 6.312 MB / 490.7 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)