Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006496/0.006497, allocations: 101.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9903/0.9903, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4833, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002227/0.4856, allocations: 1.484 MB / 0.6661 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.4864, allocations: 422.4 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.4865, allocations: 0 / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.4866, allocations: 7.875 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.4867, allocations: 24.47 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.4873, allocations: 246.3 kB / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.4877, allocations: 315.7 kB / 0.667 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.4877, allocations: 5.344 kB / 0.667 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.488, allocations: 195 kB / 0.6672 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4882, allocations: 112.6 kB / 0.6673 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.4882, allocations: 17.94 kB / 0.6673 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.4883, allocations: 22.25 kB / 0.6674 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.4884, allocations: 76.72 kB / 0.6674 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4885, allocations: 123.4 kB / 0.6676 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4888, allocations: 278.1 kB / 0.6678 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4888, allocations: 1.031 kB / 0.6678 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4888, allocations: 0 / 0.6678 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4888, allocations: 0 / 0.6678 GB, free: 5.273 MB / 0.4981 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.001061/0.4899, allocations: 0.7056 MB / 0.6685 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4899, allocations: 8.719 kB / 0.6685 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.49, allocations: 31 kB / 0.6685 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.4902, allocations: 259.2 kB / 0.6688 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4903, allocations: 11.75 kB / 0.6688 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.4903, allocations: 26.36 kB / 0.6688 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4906, allocations: 141.5 kB / 0.669 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4906, allocations: 4 kB / 0.669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.4907, allocations: 4 kB / 0.669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4907, allocations: 1.594 kB / 0.669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4908, allocations: 51.03 kB / 0.669 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.4911, allocations: 314.8 kB / 0.6693 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.4914, allocations: 130.4 kB / 0.6694 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4915, allocations: 62.11 kB / 0.6695 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4916, allocations: 5.547 kB / 0.6695 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.492, allocations: 222.2 kB / 0.6697 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.492, allocations: 0 / 0.6697 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005706/0.4926, allocations: 272.4 kB / 0.67 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4926, allocations: 64.52 kB / 0.67 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.4929, allocations: 286.5 kB / 0.6703 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4929, allocations: 36.05 kB / 0.6704 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.493, allocations: 94.5 kB / 0.6704 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.493, allocations: 50.22 kB / 0.6705 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.4932, allocations: 107.5 kB / 0.6706 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.4933, allocations: 321.4 kB / 0.6709 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4935, allocations: 94.83 kB / 0.671 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.4937, allocations: 148.1 kB / 0.6711 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.494, allocations: 251.7 kB / 0.6714 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4941, allocations: 1.344 kB / 0.6714 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007007/0.4948, allocations: 407.9 kB / 0.6718 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.4948, allocations: 72.02 kB / 0.6718 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4948, allocations: 1.156 kB / 0.6718 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4949, allocations: 3.469 kB / 0.6718 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4951, allocations: 32.03 kB / 0.6719 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4951, allocations: 3.188 kB / 0.6719 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.4956, allocations: 55.8 kB / 0.6719 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/0.4957, allocations: 54.23 kB / 0.672 GB, free: 1.992 MB / 0.4981 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.4959, allocations: 172.5 kB / 0.6721 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4959, allocations: 36.33 kB / 0.6722 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.496, allocations: 32.66 kB / 0.6722 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.496, allocations: 1.094 kB / 0.6722 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.496, allocations: 1.312 kB / 0.6722 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.496, allocations: 0 / 0.6722 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.4968, allocations: 0.5605 MB / 0.6728 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4968, allocations: 0 / 0.6728 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.4968, allocations: 10.61 kB / 0.6728 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4968, allocations: 1.312 kB / 0.6728 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4969, allocations: 13.2 kB / 0.6728 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4969, allocations: 1.375 kB / 0.6728 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4969, allocations: 0 / 0.6728 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.4973, allocations: 322.9 kB / 0.6731 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.4975, allocations: 158.4 kB / 0.6732 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.4975, allocations: 12.36 kB / 0.6733 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4978, allocations: 17.48 kB / 0.6733 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.4979, allocations: 12.95 kB / 0.6733 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.4979, allocations: 30.77 kB / 0.6733 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002077/0.4981, allocations: 211 kB / 0.6735 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4981, allocations: 0 / 0.6735 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003649/0.4985, allocations: 46.25 kB / 0.6736 GB, free: 0.7852 MB / 0.4981 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) * Number of clocked states: 0 () * 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 (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.0001351/0.4987, allocations: 118.4 kB / 0.6737 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005128/0.4992, allocations: 349.2 kB / 0.674 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4992, allocations: 0 / 0.674 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.4993, allocations: 77.5 kB / 0.6741 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4997, allocations: 26.27 kB / 0.6741 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.5003, allocations: 387.2 kB / 0.6745 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.5008, allocations: 0.7432 MB / 0.6752 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.5009, allocations: 39.2 kB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.501, allocations: 36.23 kB / 0.6753 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.501, allocations: 4 kB / 0.6753 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.008442/0.5095, allocations: 4.088 MB / 0.6793 GB, free: 13.33 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)