Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/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/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [: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.002167/0.002167, allocations: 184.3 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7441/0.7441, allocations: 130.6 MB / 138.5 MB, free: 2.156 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 391.4 MB, free: 12.86 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.001026/0.001026, allocations: 100.4 kB / 473.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.801e-06, allocations: 0 / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1872, allocations: 81.58 MB / 0.6276 GB, free: 18.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.6747, allocations: 112.2 MB / 0.7371 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.675, allocations: 69.09 kB / 0.7372 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01324/0.6883, allocations: 4.149 MB / 0.7412 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.6883, allocations: 3.781 kB / 0.7413 GB, free: 10.91 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.001175/0.6895, allocations: 0.5803 MB / 0.7418 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6896, allocations: 8.266 kB / 0.7418 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.6897, allocations: 31.27 kB / 0.7419 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.6902, allocations: 253.4 kB / 0.7421 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.6902, allocations: 4.562 kB / 0.7421 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.6903, allocations: 20.36 kB / 0.7421 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001408/0.6905, allocations: 39.2 kB / 0.7422 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.6907, allocations: 142.9 kB / 0.7423 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6908, allocations: 3.906 kB / 0.7423 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.6908, allocations: 0.75 kB / 0.7423 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6908, allocations: 0 / 0.7423 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.6913, allocations: 300.6 kB / 0.7426 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.6916, allocations: 125.5 kB / 0.7427 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.6917, allocations: 53.41 kB / 0.7428 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.6917, allocations: 0 / 0.7428 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.6921, allocations: 173.6 kB / 0.7429 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.6921, allocations: 0 / 0.7429 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000429/0.6925, allocations: 178.8 kB / 0.7431 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6926, allocations: 56.42 kB / 0.7431 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.6928, allocations: 245.9 kB / 0.7434 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.6929, allocations: 35.14 kB / 0.7434 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.693, allocations: 89.84 kB / 0.7435 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.693, allocations: 50.34 kB / 0.7435 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.6931, allocations: 4.641 kB / 0.7436 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6932, allocations: 325.3 kB / 0.7439 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.6934, allocations: 84.72 kB / 0.7439 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.6936, allocations: 133.9 kB / 0.7441 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.6938, allocations: 73.53 kB / 0.7441 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6938, allocations: 3.844 kB / 0.7441 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005101/0.6943, allocations: 283.2 kB / 0.7444 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6943, allocations: 3.875 kB / 0.7444 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.6943, allocations: 4.703 kB / 0.7444 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.6944, allocations: 7.844 kB / 0.7444 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.6945, allocations: 28.39 kB / 0.7445 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6945, allocations: 3.844 kB / 0.7445 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.6949, allocations: 42.53 kB / 0.7445 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.695, allocations: 55.53 kB / 0.7446 GB, free: 25.02 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.0001705/0.6952, allocations: 132.6 kB / 0.7447 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.6953, allocations: 32.16 kB / 0.7447 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.6953, allocations: 24.72 kB / 0.7447 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6954, allocations: 7.719 kB / 0.7447 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6954, allocations: 0.5625 kB / 0.7447 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6954, allocations: 4.656 kB / 0.7447 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.6961, allocations: 488 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6961, allocations: 0.6094 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.6962, allocations: 12.91 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6962, allocations: 0 / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.6962, allocations: 13.33 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6962, allocations: 0 / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6962, allocations: 3.938 kB / 0.7452 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003217/0.6966, allocations: 269.2 kB / 0.7455 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.6968, allocations: 155.9 kB / 0.7456 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.6968, allocations: 5.328 kB / 0.7457 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.697, allocations: 13.41 kB / 0.7457 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.6971, allocations: 14.7 kB / 0.7457 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.6972, allocations: 31.22 kB / 0.7457 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001831/0.6974, allocations: 199.6 kB / 0.7459 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003432/0.6977, allocations: 52.47 kB / 0.746 GB, free: 24.25 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.0001997/0.6979, allocations: 124.7 kB / 0.7461 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.6984, allocations: 256.6 kB / 0.7463 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6984, allocations: 0 / 0.7463 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6985, allocations: 67.64 kB / 0.7464 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.6988, allocations: 30.39 kB / 0.7464 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.6994, allocations: 269.8 kB / 0.7467 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.6999, allocations: 0.7932 MB / 0.7474 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.6999, allocations: 0 / 0.7474 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.009309/0.7092, allocations: 4.281 MB / 0.7516 GB, free: 22.77 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)