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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 212.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 1.031/1.031, allocations: 134 MB / 446.4 MB, free: 9.938 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 72.83 kB / 0.6189 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1925, allocations: 85.89 MB / 0.7028 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003176/0.1957, allocations: 1.484 MB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1967, allocations: 417.6 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.1968, allocations: 4 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.878e-05/0.1969, allocations: 3.938 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.1969, allocations: 20.23 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1976, allocations: 254.8 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.1981, allocations: 299.6 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.1982, allocations: 4 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.1986, allocations: 191.8 kB / 0.7054 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.1989, allocations: 116.1 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.199, allocations: 20 kB / 0.7055 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.1991, allocations: 16 kB / 0.7056 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1992, allocations: 83.78 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1994, allocations: 103.5 kB / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.1998, allocations: 286.9 kB / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1998, allocations: 0 / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1998, allocations: 0 / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.1998, allocations: 0 / 0.706 GB, free: 13.33 MB / 0.5294 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.001308/0.2011, allocations: 0.6323 MB / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2012, allocations: 8.031 kB / 0.7066 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.2013, allocations: 32.8 kB / 0.7067 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.2016, allocations: 210.6 kB / 0.7069 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.2017, allocations: 16.31 kB / 0.7069 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.2017, allocations: 19.92 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.202, allocations: 145.5 kB / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.202, allocations: 0 / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2021, allocations: 4 kB / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2021, allocations: 0 / 0.707 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.2022, allocations: 51.97 kB / 0.7071 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.2026, allocations: 217.2 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2029, allocations: 118.6 kB / 0.7074 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.203, allocations: 52.83 kB / 0.7075 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.203, allocations: 3.938 kB / 0.7075 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004982/0.2035, allocations: 215.6 kB / 0.7077 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2035, allocations: 0 / 0.7077 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006114/0.2041, allocations: 279.4 kB / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2042, allocations: 67.39 kB / 0.708 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2045, allocations: 292.2 kB / 0.7083 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.2045, allocations: 33.7 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.2046, allocations: 93.14 kB / 0.7084 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.2047, allocations: 43.64 kB / 0.7084 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.2048, allocations: 105.8 kB / 0.7085 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.205, allocations: 326.8 kB / 0.7089 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.2053, allocations: 159.6 kB / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2056, allocations: 213.7 kB / 0.7092 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.2059, allocations: 242.9 kB / 0.7094 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2059, allocations: 0 / 0.7094 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000767/0.2067, allocations: 485.3 kB / 0.7099 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.2068, allocations: 79.5 kB / 0.71 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2068, allocations: 8 kB / 0.71 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.2069, allocations: 4 kB / 0.71 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2071, allocations: 19.98 kB / 0.71 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2071, allocations: 7.938 kB / 0.71 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.2075, allocations: 67.77 kB / 0.7101 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.2076, allocations: 51.98 kB / 0.7101 GB, free: 8.789 MB / 0.5294 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.0002288/0.2079, allocations: 173.8 kB / 0.7103 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.2079, allocations: 27.8 kB / 0.7103 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.208, allocations: 30.19 kB / 0.7104 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.208, allocations: 4 kB / 0.7104 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.208, allocations: 3.938 kB / 0.7104 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.208, allocations: 3.984 kB / 0.7104 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/0.2089, allocations: 0.4901 MB / 0.7108 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2089, allocations: 0 / 0.7108 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.2089, allocations: 15.92 kB / 0.7109 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2089, allocations: 0 / 0.7109 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.2089, allocations: 7.984 kB / 0.7109 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2089, allocations: 8 kB / 0.7109 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2089, allocations: 0 / 0.7109 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.2094, allocations: 333.5 kB / 0.7112 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.2096, allocations: 81.64 kB / 0.7113 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.2097, allocations: 12 kB / 0.7113 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2099, allocations: 11.98 kB / 0.7113 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.21, allocations: 19.97 kB / 0.7113 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.21, allocations: 27.98 kB / 0.7113 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002247/0.2102, allocations: 211 kB / 0.7115 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2102, allocations: 3.938 kB / 0.7115 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003114/0.2105, allocations: 51.94 kB / 0.7116 GB, free: 7.234 MB / 0.5294 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.0001649/0.2107, allocations: 117 kB / 0.7117 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.2113, allocations: 374 kB / 0.7121 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2113, allocations: 0 / 0.7121 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.2115, allocations: 59.97 kB / 0.7121 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2118, allocations: 34.92 kB / 0.7122 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2126, allocations: 392.1 kB / 0.7125 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.2128, allocations: 137.8 kB / 0.7127 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.2129, allocations: 41.41 kB / 0.7127 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.213, allocations: 31.42 kB / 0.7127 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.213, allocations: 4 kB / 0.7127 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.009356/0.2223, allocations: 4.677 MB / 0.7173 GB, free: 1.355 MB / 0.5294 GB " [Timeout remaining time 660] 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.1020409520715475] Failed to read output from testmodel.py, exit status != 0: 0.23050794005393982 0.24535285499999995 0.042352558000000005 Calling exit ...