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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7181/0.7181, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65.52 kB / 0.5018 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4354, allocations: 80.19 MB / 0.5801 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002633/0.438, allocations: 1.479 MB / 0.5815 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.4391, allocations: 426 kB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.4392, allocations: 0 / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.4393, allocations: 10.98 kB / 0.5819 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.4394, allocations: 23 kB / 0.582 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.4401, allocations: 245 kB / 0.5822 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.4405, allocations: 314.7 kB / 0.5825 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.4406, allocations: 16.73 kB / 0.5825 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.4409, allocations: 187.5 kB / 0.5827 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.4411, allocations: 110 kB / 0.5828 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.4412, allocations: 18.81 kB / 0.5828 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.4413, allocations: 18.62 kB / 0.5828 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.4414, allocations: 74.34 kB / 0.5829 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.4416, allocations: 126.4 kB / 0.583 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.442, allocations: 285.4 kB / 0.5833 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.442, allocations: 3.938 kB / 0.5833 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.442, allocations: 0 / 0.5833 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4421, allocations: 4.969 kB / 0.5833 GB, free: 2.672 MB / 430.1 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.00114/0.4432, allocations: 0.691 MB / 0.584 GB, free: 2.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4432, allocations: 9.906 kB / 0.584 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4434, allocations: 31.52 kB / 0.584 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4436, allocations: 266.3 kB / 0.5843 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.4437, allocations: 10.56 kB / 0.5843 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.4437, allocations: 23.67 kB / 0.5843 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.4441, allocations: 152.7 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4441, allocations: 0 / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.4441, allocations: 1.812 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4441, allocations: 2.062 kB / 0.5845 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4443, allocations: 45.61 kB / 0.5845 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.4446, allocations: 316.2 kB / 0.5848 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4449, allocations: 131.3 kB / 0.5849 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4451, allocations: 57.78 kB / 0.585 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4451, allocations: 3.625 kB / 0.585 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.4456, allocations: 219.9 kB / 0.5852 GB, free: 1.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.4456, allocations: 0 / 0.5852 GB, free: 1.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007049/0.4463, allocations: 273 kB / 0.5855 GB, free: 1.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.4464, allocations: 58.64 kB / 0.5855 GB, free: 1.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4467, allocations: 291.7 kB / 0.5858 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.4468, allocations: 36.98 kB / 0.5858 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.4468, allocations: 95.41 kB / 0.5859 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.4469, allocations: 47.11 kB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.4471, allocations: 112 kB / 0.5861 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.4472, allocations: 321.8 kB / 0.5864 GB, free: 472 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.4474, allocations: 90.72 kB / 0.5865 GB, free: 448 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4477, allocations: 145.3 kB / 0.5866 GB, free: 360 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.448, allocations: 246.5 kB / 0.5868 GB, free: 168 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.448, allocations: 0 / 0.5868 GB, free: 168 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007353/0.4487, allocations: 419.4 kB / 0.5872 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4489, allocations: 76.86 kB / 0.5873 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4489, allocations: 6.031 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4489, allocations: 6.812 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4491, allocations: 27.12 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4491, allocations: 2.703 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.4496, allocations: 65.34 kB / 0.5874 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.4497, allocations: 53.75 kB / 0.5875 GB, free: 15.87 MB / 446.1 MB 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.000212/0.45, allocations: 177.4 kB / 0.5876 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.45, allocations: 28.75 kB / 0.5877 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.4501, allocations: 31.69 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4501, allocations: 2.781 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4501, allocations: 0 / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4501, allocations: 2.062 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.451, allocations: 0.5646 MB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.451, allocations: 1.125 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.4511, allocations: 8.531 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4511, allocations: 1.5 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4511, allocations: 10.11 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4511, allocations: 1.25 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.4511, allocations: 0.6562 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.4517, allocations: 327.2 kB / 0.5886 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4519, allocations: 158.7 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.452, allocations: 9.297 kB / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4522, allocations: 10.03 kB / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.4523, allocations: 17.66 kB / 0.5888 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.4523, allocations: 28.08 kB / 0.5888 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.4526, allocations: 208.8 kB / 0.589 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4526, allocations: 0 / 0.589 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.4529, allocations: 52.95 kB / 0.589 GB, free: 14.85 MB / 446.1 MB 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.0001653/0.4531, allocations: 111.9 kB / 0.5891 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007347/0.4539, allocations: 354.7 kB / 0.5895 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4539, allocations: 4.875 kB / 0.5895 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.4541, allocations: 69.12 kB / 0.5896 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4545, allocations: 32 kB / 0.5896 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.4553, allocations: 389.2 kB / 0.59 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.4557, allocations: 0.745 MB / 0.5907 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.4559, allocations: 34.91 kB / 0.5907 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.456, allocations: 41.3 kB / 0.5908 GB, free: 13.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.456, allocations: 0 / 0.5908 GB, free: 13.54 MB / 446.1 MB Notification: Performance of Templates: time 0.008634/0.4647, allocations: 4.1 MB / 0.5948 GB, free: 12.24 MB / 446.1 MB 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)