Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") [: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.0009634/0.0009637, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4386/0.4386, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.138/1.138, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.0009478/0.0009478, allocations: 104.1 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.64e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 72.31 MB / 0.5529 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3811, allocations: 103.4 MB / 0.6539 GB, free: 6.629 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3813, allocations: 71.95 kB / 0.6539 GB, free: 6.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01366/0.395, allocations: 4.254 MB / 0.6581 GB, free: 2.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.395, allocations: 4 kB / 0.6581 GB, free: 2.379 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.000645/0.3957, allocations: 0.6288 MB / 0.6587 GB, free: 1.668 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3957, allocations: 8.031 kB / 0.6587 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/0.3958, allocations: 31.72 kB / 0.6587 GB, free: 1.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3961, allocations: 251.2 kB / 0.659 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.3962, allocations: 11.98 kB / 0.659 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.3962, allocations: 23.91 kB / 0.659 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.3964, allocations: 43.92 kB / 0.6591 GB, free: 1.266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3966, allocations: 145.5 kB / 0.6592 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3966, allocations: 0 / 0.6592 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3967, allocations: 0 / 0.6592 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3967, allocations: 4 kB / 0.6592 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.397, allocations: 303.2 kB / 0.6595 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3972, allocations: 102.7 kB / 0.6596 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3973, allocations: 56.84 kB / 0.6596 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3973, allocations: 4 kB / 0.6596 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.3975, allocations: 155.2 kB / 0.6598 GB, free: 456 kB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3975, allocations: 0 / 0.6598 GB, free: 456 kB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003646/0.3979, allocations: 188.7 kB / 0.66 GB, free: 264 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3979, allocations: 55.41 kB / 0.66 GB, free: 196 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3981, allocations: 250.1 kB / 0.6603 GB, free: 15.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.3982, allocations: 37.69 kB / 0.6603 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.3982, allocations: 89.14 kB / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3983, allocations: 39.45 kB / 0.6604 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.3983, allocations: 4 kB / 0.6604 GB, free: 15.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.3984, allocations: 322.8 kB / 0.6607 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3986, allocations: 75.98 kB / 0.6608 GB, free: 15.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.3988, allocations: 129.9 kB / 0.6609 GB, free: 15.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3989, allocations: 71.91 kB / 0.661 GB, free: 15.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3989, allocations: 0 / 0.661 GB, free: 15.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004616/0.3994, allocations: 265.3 kB / 0.6613 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3994, allocations: 11.89 kB / 0.6613 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3994, allocations: 0 / 0.6613 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3994, allocations: 4 kB / 0.6613 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3996, allocations: 23.92 kB / 0.6613 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3996, allocations: 0 / 0.6613 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.4, allocations: 51.94 kB / 0.6613 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.4, allocations: 39.98 kB / 0.6614 GB, free: 14.75 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0001204/0.4002, allocations: 122.9 kB / 0.6615 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.4002, allocations: 31.61 kB / 0.6615 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.4003, allocations: 31.58 kB / 0.6616 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4003, allocations: 4 kB / 0.6616 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4003, allocations: 0 / 0.6616 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4003, allocations: 0 / 0.6616 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.4009, allocations: 0.491 MB / 0.662 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.401, allocations: 3.938 kB / 0.662 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.401, allocations: 4 kB / 0.662 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.401, allocations: 4 kB / 0.6621 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.4011, allocations: 19.88 kB / 0.6621 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4011, allocations: 5.875 kB / 0.6621 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4011, allocations: 0 / 0.6621 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003051/0.4014, allocations: 277 kB / 0.6623 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4016, allocations: 164.6 kB / 0.6625 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.4016, allocations: 8 kB / 0.6625 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.4021, allocations: 35.97 kB / 0.6625 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.4021, allocations: 11.98 kB / 0.6626 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.4022, allocations: 39.97 kB / 0.6626 GB, free: 13.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000152/0.4023, allocations: 199.1 kB / 0.6628 GB, free: 13.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.4026, allocations: 47.98 kB / 0.6628 GB, free: 13.19 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.00014/0.4028, allocations: 124.2 kB / 0.6629 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.4032, allocations: 243.3 kB / 0.6632 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4032, allocations: 4 kB / 0.6632 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.4033, allocations: 59.92 kB / 0.6632 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4036, allocations: 24.55 kB / 0.6633 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.4041, allocations: 277.4 kB / 0.6635 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.4044, allocations: 0.7586 MB / 0.6643 GB, free: 11.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4044, allocations: 1.781 kB / 0.6643 GB, free: 11.64 MB / 490.7 MB Notification: Performance of Templates: time 0.006229/0.4106, allocations: 3.887 MB / 0.6681 GB, free: 7.812 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)