Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8766/0.8766, allocations: 134 MB / 438.5 MB, free: 13.51 MB / 350.1 MB " [Timeout remaining time 179] 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 0.6083 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4851, allocations: 84.68 MB / 0.691 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002705/0.4878, allocations: 1.482 MB / 0.6925 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.4888, allocations: 423.6 kB / 0.6929 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.4889, allocations: 0 / 0.6929 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.489, allocations: 9.031 kB / 0.6929 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.4891, allocations: 31.91 kB / 0.6929 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.4898, allocations: 238.3 kB / 0.6931 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.4901, allocations: 303.2 kB / 0.6934 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.4902, allocations: 8.422 kB / 0.6934 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.4905, allocations: 190.9 kB / 0.6936 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.4907, allocations: 116.1 kB / 0.6937 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.4907, allocations: 26.53 kB / 0.6937 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.4908, allocations: 18.25 kB / 0.6938 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4909, allocations: 77 kB / 0.6938 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.4911, allocations: 119.7 kB / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.4914, allocations: 285.5 kB / 0.6942 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4914, allocations: 3.938 kB / 0.6942 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4914, allocations: 1.219 kB / 0.6942 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4914, allocations: 0 / 0.6942 GB, free: 15.76 MB / 0.5137 GB 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.001329/0.4928, allocations: 0.701 MB / 0.6949 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4928, allocations: 8.875 kB / 0.6949 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.4929, allocations: 31.36 kB / 0.695 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4933, allocations: 271.2 kB / 0.6952 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.4933, allocations: 12.62 kB / 0.6952 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.4933, allocations: 17.69 kB / 0.6952 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4936, allocations: 145.6 kB / 0.6954 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4937, allocations: 0 / 0.6954 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.4937, allocations: 5.359 kB / 0.6954 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4937, allocations: 1.375 kB / 0.6954 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.4938, allocations: 54.03 kB / 0.6954 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4943, allocations: 310.9 kB / 0.6957 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4946, allocations: 121.5 kB / 0.6958 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.4947, allocations: 49.58 kB / 0.6959 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4947, allocations: 2.75 kB / 0.6959 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.4952, allocations: 228 kB / 0.6961 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.4952, allocations: 0 / 0.6961 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006684/0.4959, allocations: 266.2 kB / 0.6964 GB, free: 14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.496, allocations: 64.16 kB / 0.6964 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.4963, allocations: 294.1 kB / 0.6967 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.4963, allocations: 37.73 kB / 0.6967 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.4964, allocations: 92.83 kB / 0.6968 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.4965, allocations: 43.58 kB / 0.6969 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.4966, allocations: 111.7 kB / 0.697 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4968, allocations: 321.5 kB / 0.6973 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.497, allocations: 90.39 kB / 0.6974 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4972, allocations: 146.7 kB / 0.6975 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.4976, allocations: 245.2 kB / 0.6977 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4976, allocations: 1.156 kB / 0.6978 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007155/0.4983, allocations: 408.8 kB / 0.6981 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.4984, allocations: 81.03 kB / 0.6982 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4984, allocations: 2.375 kB / 0.6982 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4984, allocations: 10.91 kB / 0.6982 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4986, allocations: 29.44 kB / 0.6983 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4986, allocations: 2.688 kB / 0.6983 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.4991, allocations: 63.19 kB / 0.6983 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.4992, allocations: 53.92 kB / 0.6984 GB, free: 12.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002009/0.4994, allocations: 171 kB / 0.6985 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4994, allocations: 35.72 kB / 0.6986 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.4995, allocations: 28.59 kB / 0.6986 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4995, allocations: 1.531 kB / 0.6986 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4995, allocations: 1.5 kB / 0.6986 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4995, allocations: 0 / 0.6986 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.5004, allocations: 0.5655 MB / 0.6992 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5004, allocations: 0 / 0.6992 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.5004, allocations: 10.59 kB / 0.6992 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5004, allocations: 1.281 kB / 0.6992 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.5005, allocations: 17.97 kB / 0.6992 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5005, allocations: 1.375 kB / 0.6992 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5005, allocations: 4 kB / 0.6992 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.501, allocations: 329.8 kB / 0.6995 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.5012, allocations: 156.2 kB / 0.6996 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.5012, allocations: 7.219 kB / 0.6997 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.5014, allocations: 10.45 kB / 0.6997 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.5015, allocations: 19.98 kB / 0.6997 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.5016, allocations: 31.25 kB / 0.6997 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002334/0.5018, allocations: 206 kB / 0.6999 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5018, allocations: 0 / 0.6999 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003307/0.5021, allocations: 55.14 kB / 0.7 GB, free: 11.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001711/0.5023, allocations: 110.8 kB / 0.7001 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005869/0.5029, allocations: 317 kB / 0.7004 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5029, allocations: 8 kB / 0.7004 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.503, allocations: 67.88 kB / 0.7004 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.5034, allocations: 27.91 kB / 0.7005 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.5043, allocations: 388.7 kB / 0.7008 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5047, allocations: 0.739 MB / 0.7016 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.5048, allocations: 39.86 kB / 0.7016 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5049, allocations: 41.03 kB / 0.7016 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.5049, allocations: 0 / 0.7016 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.008813/0.5138, allocations: 4.169 MB / 0.7057 GB, free: 6.582 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.018954907543957]