Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008781/0.008781, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8974/0.8974, allocations: 132.4 MB / 423.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 8.625 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4569, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001425/0.4583, allocations: 1.21 MB / 0.5848 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009654/0.4593, allocations: 436.3 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.4594, allocations: 0 / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.301e-05/0.4595, allocations: 10.92 kB / 0.5853 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4596, allocations: 22.64 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.4602, allocations: 218.4 kB / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.4605, allocations: 287.8 kB / 0.5858 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.4606, allocations: 6.281 kB / 0.5858 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.4609, allocations: 213.4 kB / 0.586 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.4611, allocations: 120.1 kB / 0.5861 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.4612, allocations: 13.84 kB / 0.5861 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.4613, allocations: 9.094 kB / 0.5861 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4614, allocations: 71.48 kB / 0.5862 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.4616, allocations: 144.7 kB / 0.5863 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.462, allocations: 282 kB / 0.5866 GB, free: 2.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.462, allocations: 0.5156 kB / 0.5866 GB, free: 2.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.462, allocations: 0 / 0.5866 GB, free: 2.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.462, allocations: 0.9375 kB / 0.5866 GB, free: 2.344 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.001027/0.463, allocations: 0.6179 MB / 0.5872 GB, free: 1.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4631, allocations: 10.64 kB / 0.5872 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.4632, allocations: 33.72 kB / 0.5872 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4634, allocations: 265.1 kB / 0.5875 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.4635, allocations: 9.906 kB / 0.5875 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.4636, allocations: 20.77 kB / 0.5875 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.4639, allocations: 139.5 kB / 0.5877 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4639, allocations: 8.594 kB / 0.5877 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.464, allocations: 10.58 kB / 0.5877 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.464, allocations: 1.125 kB / 0.5877 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4641, allocations: 48.77 kB / 0.5877 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.4645, allocations: 316.6 kB / 0.588 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4648, allocations: 128 kB / 0.5881 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.4649, allocations: 62.66 kB / 0.5882 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.465, allocations: 1.688 kB / 0.5882 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.4654, allocations: 224.9 kB / 0.5884 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.4654, allocations: 0.9375 kB / 0.5884 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006059/0.466, allocations: 268.9 kB / 0.5887 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.4661, allocations: 61.95 kB / 0.5887 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.4664, allocations: 294.8 kB / 0.589 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.4664, allocations: 38.11 kB / 0.5891 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.4665, allocations: 95.91 kB / 0.5891 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.4665, allocations: 38.45 kB / 0.5892 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.4666, allocations: 34.89 kB / 0.5892 GB, free: 496 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.4666, allocations: 330.4 kB / 0.5895 GB, free: 164 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.4669, allocations: 90.23 kB / 0.5896 GB, free: 136 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.4672, allocations: 144.6 kB / 0.5898 GB, free: 48 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.4676, allocations: 244.9 kB / 0.59 GB, free: 15.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4676, allocations: 0 / 0.59 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008077/0.4684, allocations: 414.6 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.4685, allocations: 83.86 kB / 0.5905 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4685, allocations: 3.5 kB / 0.5905 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4685, allocations: 6.594 kB / 0.5905 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4687, allocations: 26.23 kB / 0.5905 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4687, allocations: 3.391 kB / 0.5905 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.4693, allocations: 70.38 kB / 0.5906 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.4694, allocations: 57.69 kB / 0.5906 GB, free: 15.57 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.0001902/0.4696, allocations: 172.3 kB / 0.5908 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.4696, allocations: 28.72 kB / 0.5908 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.4697, allocations: 28.16 kB / 0.5908 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4697, allocations: 6.688 kB / 0.5908 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4697, allocations: 4.656 kB / 0.5909 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4697, allocations: 0.8906 kB / 0.5909 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.4706, allocations: 0.5621 MB / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4706, allocations: 0 / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.4706, allocations: 9.109 kB / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4706, allocations: 1.156 kB / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.4707, allocations: 15.14 kB / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4707, allocations: 1.156 kB / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4707, allocations: 0 / 0.5914 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.4712, allocations: 335.8 kB / 0.5917 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.4714, allocations: 162.3 kB / 0.5919 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.4714, allocations: 13.55 kB / 0.5919 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.4717, allocations: 10.67 kB / 0.5919 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.4717, allocations: 19.03 kB / 0.5919 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4718, allocations: 27.69 kB / 0.592 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.472, allocations: 212.8 kB / 0.5922 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.472, allocations: 1.438 kB / 0.5922 GB, free: 14.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000337/0.4724, allocations: 46.66 kB / 0.5922 GB, free: 14.54 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.0001374/0.4725, allocations: 112.9 kB / 0.5923 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.4731, allocations: 343.6 kB / 0.5927 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4731, allocations: 0.9062 kB / 0.5927 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4733, allocations: 74.19 kB / 0.5927 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4737, allocations: 34.42 kB / 0.5928 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.4744, allocations: 457.5 kB / 0.5932 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4748, allocations: 0.7418 MB / 0.5939 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.4749, allocations: 38.98 kB / 0.594 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.4751, allocations: 33.41 kB / 0.594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4751, allocations: 0 / 0.594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Templates: time 0.007958/0.4831, allocations: 3.971 MB / 0.5979 GB, free: 11.84 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)