Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008181, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006745/0.006745, allocations: 169 kB / 16.26 MB, free: 6.652 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.811/0.811, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 8.281 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4245, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001329/0.4258, allocations: 1.198 MB / 0.5848 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.4267, allocations: 446.8 kB / 0.5853 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.4268, allocations: 1.156 kB / 0.5853 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.864e-05/0.4269, allocations: 5.344 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.427, allocations: 18.89 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.4276, allocations: 220.6 kB / 0.5855 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.4279, allocations: 290.5 kB / 0.5858 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.4279, allocations: 9.438 kB / 0.5858 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.4283, allocations: 209.9 kB / 0.586 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.4285, allocations: 125.1 kB / 0.5861 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.4285, allocations: 9.031 kB / 0.5861 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.4286, allocations: 13.91 kB / 0.5861 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4287, allocations: 75.25 kB / 0.5862 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.4289, allocations: 144.6 kB / 0.5863 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.4292, allocations: 282.7 kB / 0.5866 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4292, allocations: 0.7812 kB / 0.5866 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4292, allocations: 0 / 0.5866 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4292, allocations: 0 / 0.5866 GB, free: 2.352 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.0009309/0.4302, allocations: 0.6158 MB / 0.5872 GB, free: 1.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.4302, allocations: 13.72 kB / 0.5872 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.4303, allocations: 29.66 kB / 0.5872 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.4306, allocations: 253.4 kB / 0.5875 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.4306, allocations: 12.84 kB / 0.5875 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.4307, allocations: 20.36 kB / 0.5875 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.431, allocations: 144.5 kB / 0.5877 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.431, allocations: 3.938 kB / 0.5877 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.431, allocations: 7.625 kB / 0.5877 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.431, allocations: 1.531 kB / 0.5877 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4312, allocations: 47.97 kB / 0.5877 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.4315, allocations: 316.6 kB / 0.588 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4318, allocations: 132.2 kB / 0.5881 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.4319, allocations: 57.42 kB / 0.5882 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.432, allocations: 2.672 kB / 0.5882 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.4324, allocations: 224.5 kB / 0.5884 GB, free: 1.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.4325, allocations: 0 / 0.5884 GB, free: 1.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005833/0.433, allocations: 273.5 kB / 0.5887 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4331, allocations: 66.33 kB / 0.5887 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.4334, allocations: 290.9 kB / 0.589 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.4334, allocations: 38.3 kB / 0.5891 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.4335, allocations: 91.92 kB / 0.5891 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.4335, allocations: 42.36 kB / 0.5892 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.4336, allocations: 35.84 kB / 0.5892 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.4336, allocations: 320.7 kB / 0.5895 GB, free: 192 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.4339, allocations: 95.2 kB / 0.5896 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4341, allocations: 148.5 kB / 0.5898 GB, free: 68 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.4345, allocations: 244.6 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4345, allocations: 0.8438 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007909/0.4353, allocations: 417 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.4354, allocations: 73.52 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4354, allocations: 1.375 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4354, allocations: 6.688 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4356, allocations: 35.45 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4356, allocations: 2.688 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.4362, allocations: 66.28 kB / 0.5906 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.4362, allocations: 54.8 kB / 0.5906 GB, free: 15.6 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.0001822/0.4364, allocations: 174.9 kB / 0.5908 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.4365, allocations: 32.62 kB / 0.5908 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.4366, allocations: 28.2 kB / 0.5908 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4366, allocations: 6.531 kB / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4366, allocations: 0 / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4366, allocations: 5.453 kB / 0.5909 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.4374, allocations: 0.5617 MB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4374, allocations: 0.5312 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.4375, allocations: 8.188 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4375, allocations: 1.75 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.4376, allocations: 14.97 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4376, allocations: 1.859 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4376, allocations: 0 / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.438, allocations: 324.3 kB / 0.5917 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4382, allocations: 161.6 kB / 0.5919 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.4383, allocations: 9.219 kB / 0.5919 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4385, allocations: 15.11 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.4386, allocations: 14.12 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.4386, allocations: 32.66 kB / 0.592 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.4388, allocations: 212.5 kB / 0.5922 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4388, allocations: 0 / 0.5922 GB, free: 14.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.4392, allocations: 48.12 kB / 0.5922 GB, free: 14.57 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.000131/0.4393, allocations: 119.6 kB / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.4399, allocations: 339.3 kB / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4399, allocations: 0 / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.4401, allocations: 76.31 kB / 0.5927 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4404, allocations: 25.2 kB / 0.5927 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.4411, allocations: 463.2 kB / 0.5932 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.4415, allocations: 0.7428 MB / 0.5939 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.4416, allocations: 33.06 kB / 0.5939 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.4418, allocations: 41.77 kB / 0.594 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4418, allocations: 0 / 0.594 GB, free: 13.19 MB / 446.1 MB Notification: Performance of Templates: time 0.007821/0.4496, allocations: 3.976 MB / 0.5979 GB, free: 11.85 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)