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.001566/0.001567, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.0019/0.0019, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3849, allocations: 80.18 MB / 0.5807 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003449/0.3884, allocations: 1.466 MB / 0.5822 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.3893, allocations: 425.3 kB / 0.5826 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3893, allocations: 1.188 kB / 0.5826 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3894, allocations: 9.094 kB / 0.5826 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3896, allocations: 23.94 kB / 0.5826 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.3903, allocations: 245.9 kB / 0.5828 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3907, allocations: 313.9 kB / 0.5831 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.3907, allocations: 13.19 kB / 0.5831 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.391, allocations: 190.8 kB / 0.5833 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3912, allocations: 105.8 kB / 0.5834 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.3913, allocations: 18.38 kB / 0.5834 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3914, allocations: 19.19 kB / 0.5835 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3915, allocations: 78.44 kB / 0.5835 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3916, allocations: 124 kB / 0.5837 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3919, allocations: 292.5 kB / 0.5839 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3919, allocations: 0 / 0.5839 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3919, allocations: 0.7188 kB / 0.5839 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3919, allocations: 0 / 0.5839 GB, free: 24.91 MB / 446.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.001118/0.3931, allocations: 0.6965 MB / 0.5846 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3931, allocations: 8.219 kB / 0.5846 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.3932, allocations: 30.62 kB / 0.5847 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.3935, allocations: 267.1 kB / 0.5849 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.3935, allocations: 14.25 kB / 0.5849 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3936, allocations: 30.92 kB / 0.585 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3939, allocations: 144.7 kB / 0.5851 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3939, allocations: 0 / 0.5851 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.394, allocations: 6.312 kB / 0.5851 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.394, allocations: 1.281 kB / 0.5851 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3941, allocations: 49.28 kB / 0.5851 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3944, allocations: 309.6 kB / 0.5854 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3947, allocations: 135.1 kB / 0.5856 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3949, allocations: 54.25 kB / 0.5856 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3949, allocations: 7.266 kB / 0.5856 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.3953, allocations: 215.4 kB / 0.5858 GB, free: 23.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.3954, allocations: 1.188 kB / 0.5858 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005804/0.3959, allocations: 274.2 kB / 0.5861 GB, free: 23.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.396, allocations: 60.22 kB / 0.5862 GB, free: 23.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3962, allocations: 287.3 kB / 0.5864 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.3963, allocations: 45.62 kB / 0.5865 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3963, allocations: 89.61 kB / 0.5866 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3964, allocations: 46.78 kB / 0.5866 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.3966, allocations: 105.3 kB / 0.5867 GB, free: 22.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3966, allocations: 327.3 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3968, allocations: 90.73 kB / 0.5871 GB, free: 22.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3971, allocations: 148.6 kB / 0.5872 GB, free: 22.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3974, allocations: 247.6 kB / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3974, allocations: 1.188 kB / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006341/0.398, allocations: 417.9 kB / 0.5879 GB, free: 21.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.3981, allocations: 81.75 kB / 0.588 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3981, allocations: 1.5 kB / 0.588 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3981, allocations: 3.188 kB / 0.588 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3983, allocations: 19.8 kB / 0.588 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3983, allocations: 7.562 kB / 0.588 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3988, allocations: 62.11 kB / 0.588 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.3989, allocations: 58.97 kB / 0.5881 GB, free: 21.66 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.0001509/0.3991, allocations: 170.5 kB / 0.5883 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3991, allocations: 34.97 kB / 0.5883 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.3992, allocations: 28.44 kB / 0.5883 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3992, allocations: 2.375 kB / 0.5883 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3992, allocations: 0.5938 kB / 0.5883 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3992, allocations: 7.734 kB / 0.5883 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.3999, allocations: 0.553 MB / 0.5889 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3999, allocations: 0 / 0.5889 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.4, allocations: 14.44 kB / 0.5889 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4, allocations: 1.156 kB / 0.5889 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4, allocations: 16.06 kB / 0.5889 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4, allocations: 1.219 kB / 0.5889 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4, allocations: 5.031 kB / 0.5889 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.4004, allocations: 321.3 kB / 0.5892 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4006, allocations: 160.5 kB / 0.5894 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.4006, allocations: 8.156 kB / 0.5894 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4008, allocations: 10.45 kB / 0.5894 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.4009, allocations: 20.31 kB / 0.5894 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.4009, allocations: 29.23 kB / 0.5894 GB, free: 20.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4011, allocations: 210.2 kB / 0.5896 GB, free: 20.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4011, allocations: 0 / 0.5896 GB, free: 20.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.4014, allocations: 45.34 kB / 0.5897 GB, free: 20.46 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.0001237/0.4016, allocations: 120.1 kB / 0.5898 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.4021, allocations: 358.1 kB / 0.5901 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4021, allocations: 3.656 kB / 0.5901 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.4023, allocations: 80.42 kB / 0.5902 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4027, allocations: 32.45 kB / 0.5902 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.4033, allocations: 417.6 kB / 0.5906 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.4034, allocations: 0.7429 MB / 0.5914 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4036, allocations: 42.25 kB / 0.5914 GB, free: 18.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4036, allocations: 0 / 0.5914 GB, free: 18.82 MB / 446.1 MB Notification: Performance of Templates: time 0.00391/0.4075, allocations: 2.978 MB / 0.5943 GB, free: 15.9 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)