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.001306/0.001306, 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.001617/0.001617, allocations: 194 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.84 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 80.21 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002372/0.3788, allocations: 1.468 MB / 0.5815 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.3797, allocations: 427.8 kB / 0.5819 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.3797, allocations: 0 / 0.5819 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/0.3798, allocations: 7.469 kB / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.3799, allocations: 33 kB / 0.582 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.3805, allocations: 242.5 kB / 0.5822 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3809, allocations: 309.7 kB / 0.5825 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3809, allocations: 18.08 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.3812, allocations: 186.8 kB / 0.5827 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.3814, allocations: 102.9 kB / 0.5828 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.3815, allocations: 21.88 kB / 0.5828 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3816, allocations: 19.16 kB / 0.5828 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3817, allocations: 77.06 kB / 0.5829 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3818, allocations: 127.8 kB / 0.583 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.3821, allocations: 284.8 kB / 0.5833 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3822, allocations: 5.25 kB / 0.5833 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3822, allocations: 0 / 0.5833 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3822, allocations: 0 / 0.5833 GB, free: 2.66 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.001082/0.3833, allocations: 0.6956 MB / 0.584 GB, free: 2.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3833, allocations: 9.062 kB / 0.584 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3834, allocations: 32.97 kB / 0.584 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3837, allocations: 261.6 kB / 0.5843 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3837, allocations: 9.266 kB / 0.5843 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3838, allocations: 27.64 kB / 0.5843 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.3841, allocations: 149.2 kB / 0.5844 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3841, allocations: 5.5 kB / 0.5844 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.3842, allocations: 0.7031 kB / 0.5844 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3842, allocations: 2.625 kB / 0.5845 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3843, allocations: 48.53 kB / 0.5845 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3847, allocations: 308.4 kB / 0.5848 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.385, allocations: 140.4 kB / 0.5849 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3852, allocations: 53.42 kB / 0.585 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3852, allocations: 2.188 kB / 0.585 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/0.3858, allocations: 218.4 kB / 0.5852 GB, free: 1.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.3858, allocations: 0 / 0.5852 GB, free: 1.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006681/0.3865, allocations: 275.9 kB / 0.5855 GB, free: 1.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3865, allocations: 62.59 kB / 0.5855 GB, free: 1.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3869, allocations: 286.9 kB / 0.5858 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.3869, allocations: 41.31 kB / 0.5858 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.387, allocations: 91.72 kB / 0.5859 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.3871, allocations: 47.23 kB / 0.586 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.3873, allocations: 108 kB / 0.5861 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.3873, allocations: 322.1 kB / 0.5864 GB, free: 460 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.3876, allocations: 93.81 kB / 0.5865 GB, free: 432 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3879, allocations: 149.6 kB / 0.5866 GB, free: 340 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3882, allocations: 245.4 kB / 0.5868 GB, free: 148 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3882, allocations: 1.375 kB / 0.5868 GB, free: 148 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000807/0.389, allocations: 424.2 kB / 0.5872 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.3891, allocations: 72.62 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3891, allocations: 7.203 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.3891, allocations: 2.219 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3893, allocations: 26.45 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3894, allocations: 4.016 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.3899, allocations: 67.2 kB / 0.5874 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.39, allocations: 54.97 kB / 0.5875 GB, free: 15.86 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.0002232/0.3902, allocations: 173.2 kB / 0.5876 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3903, allocations: 28.55 kB / 0.5877 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.3904, allocations: 35.5 kB / 0.5877 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3904, allocations: 2.344 kB / 0.5877 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3904, allocations: 5.172 kB / 0.5877 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3904, allocations: 0.7969 kB / 0.5877 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3914, allocations: 0.5602 MB / 0.5882 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3914, allocations: 0 / 0.5882 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.3915, allocations: 8.016 kB / 0.5883 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3915, allocations: 1.953 kB / 0.5883 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3915, allocations: 10.97 kB / 0.5883 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.3915, allocations: 1.391 kB / 0.5883 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3915, allocations: 3.938 kB / 0.5883 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.392, allocations: 329.6 kB / 0.5886 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.3923, allocations: 154.4 kB / 0.5887 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.3924, allocations: 14.06 kB / 0.5887 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3926, allocations: 14.17 kB / 0.5888 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.3927, allocations: 13.47 kB / 0.5888 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.3927, allocations: 27.91 kB / 0.5888 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.3929, allocations: 212.8 kB / 0.589 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3929, allocations: 4 kB / 0.589 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.3933, allocations: 47.75 kB / 0.589 GB, free: 14.83 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.0001543/0.3935, allocations: 113.4 kB / 0.5892 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.3941, allocations: 356.2 kB / 0.5895 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3941, allocations: 0.625 kB / 0.5895 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3943, allocations: 74.02 kB / 0.5896 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3947, allocations: 27.7 kB / 0.5896 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.3956, allocations: 393.5 kB / 0.59 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.3961, allocations: 0.7408 MB / 0.5907 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3963, allocations: 38.38 kB / 0.5907 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3964, allocations: 34.02 kB / 0.5908 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3964, allocations: 0 / 0.5908 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Templates: time 0.009621/0.4061, allocations: 4.088 MB / 0.5948 GB, free: 12.19 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)