Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00192/0.00192, allocations: 179.8 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5974/0.5974, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 90.41 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.789e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 82.29 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3146/0.4214, allocations: 112.4 MB / 0.743 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.4216, allocations: 68.5 kB / 0.743 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01134/0.433, allocations: 4.139 MB / 0.7471 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.433, allocations: 2.562 kB / 0.7471 GB, free: 10.59 MB / 0.4948 GB 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.0007665/0.4338, allocations: 0.5809 MB / 0.7476 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.4338, allocations: 9.125 kB / 0.7476 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.4339, allocations: 34.53 kB / 0.7477 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4342, allocations: 259.2 kB / 0.7479 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4343, allocations: 4.516 kB / 0.7479 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.4343, allocations: 13.53 kB / 0.7479 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.4344, allocations: 43.3 kB / 0.748 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4347, allocations: 139.7 kB / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4347, allocations: 3.906 kB / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.4347, allocations: 1.359 kB / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4347, allocations: 0 / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.435, allocations: 304.6 kB / 0.7484 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4352, allocations: 121.1 kB / 0.7485 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.4353, allocations: 54.44 kB / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.4353, allocations: 0 / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.4356, allocations: 172.2 kB / 0.7487 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.4356, allocations: 0 / 0.7487 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003048/0.4359, allocations: 178.5 kB / 0.7489 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.4359, allocations: 59.81 kB / 0.749 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.4361, allocations: 246.2 kB / 0.7492 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.4362, allocations: 34.62 kB / 0.7492 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.4362, allocations: 86.92 kB / 0.7493 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.4363, allocations: 42.02 kB / 0.7494 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4363, allocations: 7.578 kB / 0.7494 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.4364, allocations: 321.7 kB / 0.7497 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4366, allocations: 87.81 kB / 0.7498 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.4368, allocations: 140.1 kB / 0.7499 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4369, allocations: 72.58 kB / 0.75 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4369, allocations: 3.938 kB / 0.75 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004407/0.4373, allocations: 282 kB / 0.7502 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.4374, allocations: 6.656 kB / 0.7502 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4374, allocations: 8.688 kB / 0.7502 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4374, allocations: 7.844 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4375, allocations: 28.64 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4375, allocations: 3.812 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.4379, allocations: 46.55 kB / 0.7503 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.438, allocations: 50.97 kB / 0.7504 GB, free: 24.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001105/0.4381, allocations: 134.2 kB / 0.7505 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.4381, allocations: 24.7 kB / 0.7505 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.4382, allocations: 31.69 kB / 0.7506 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4382, allocations: 3.906 kB / 0.7506 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4382, allocations: 0 / 0.7506 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4382, allocations: 4.75 kB / 0.7506 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.4388, allocations: 493.3 kB / 0.751 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4388, allocations: 3.938 kB / 0.751 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.4388, allocations: 9.969 kB / 0.751 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4388, allocations: 0 / 0.751 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4389, allocations: 11.38 kB / 0.7511 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.4389, allocations: 7.781 kB / 0.7511 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4389, allocations: 0.5625 kB / 0.7511 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002517/0.4392, allocations: 269.6 kB / 0.7513 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4393, allocations: 156 kB / 0.7515 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.4394, allocations: 5.062 kB / 0.7515 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4396, allocations: 10.25 kB / 0.7515 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4396, allocations: 18.95 kB / 0.7515 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.4397, allocations: 30.91 kB / 0.7515 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001324/0.4398, allocations: 196 kB / 0.7517 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002916/0.4401, allocations: 55.12 kB / 0.7518 GB, free: 23.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001171/0.4402, allocations: 118.3 kB / 0.7519 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.4406, allocations: 256.5 kB / 0.7521 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4406, allocations: 0 / 0.7521 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4407, allocations: 71.23 kB / 0.7522 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.441, allocations: 18.62 kB / 0.7522 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.4415, allocations: 274.2 kB / 0.7525 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.4419, allocations: 0.7943 MB / 0.7533 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.4419, allocations: 0 / 0.7533 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.006809/0.4487, allocations: 4.279 MB / 0.7574 GB, free: 21.77 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)