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.001271/0.001271, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001433/0.001433, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 0.8327/0.8327, allocations: 134 MB / 447.2 MB, free: 9.922 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.002969/0.002969, allocations: 70.7 kB / 0.6197 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1565, allocations: 85.91 MB / 0.7036 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002672/0.1591, allocations: 1.477 MB / 0.705 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.16, allocations: 415.3 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.1601, allocations: 0 / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.31e-05/0.1602, allocations: 11.86 kB / 0.7054 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1603, allocations: 24.22 kB / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.1609, allocations: 243.4 kB / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.1613, allocations: 303.5 kB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.1613, allocations: 4 kB / 0.706 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1616, allocations: 199.7 kB / 0.7062 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1618, allocations: 116 kB / 0.7063 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.1619, allocations: 16 kB / 0.7063 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.1619, allocations: 20 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.162, allocations: 75.78 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1622, allocations: 103.5 kB / 0.7065 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1625, allocations: 282.9 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1625, allocations: 0 / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1625, allocations: 4 kB / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1625, allocations: 0 / 0.7067 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.001143/0.1636, allocations: 0.6284 MB / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.1637, allocations: 12.03 kB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.1638, allocations: 28.8 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1641, allocations: 210.5 kB / 0.7076 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1641, allocations: 12.36 kB / 0.7076 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.1642, allocations: 23.94 kB / 0.7076 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.1645, allocations: 149 kB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1645, allocations: 4 kB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1646, allocations: 3.984 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1646, allocations: 4 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1647, allocations: 43.98 kB / 0.7078 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.165, allocations: 217.1 kB / 0.708 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1652, allocations: 114.7 kB / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1654, allocations: 52.77 kB / 0.7082 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1654, allocations: 11.94 kB / 0.7082 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.1659, allocations: 219.6 kB / 0.7084 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.1659, allocations: 0 / 0.7084 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005707/0.1665, allocations: 271.3 kB / 0.7087 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1665, allocations: 67.38 kB / 0.7087 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1668, allocations: 284.2 kB / 0.709 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1668, allocations: 45.64 kB / 0.7091 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.1669, allocations: 97.12 kB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.167, allocations: 47.64 kB / 0.7092 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1671, allocations: 101.8 kB / 0.7093 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1673, allocations: 318.8 kB / 0.7096 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1675, allocations: 159.6 kB / 0.7097 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.1678, allocations: 213.8 kB / 0.71 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.1682, allocations: 247.5 kB / 0.7102 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1682, allocations: 0 / 0.7102 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007329/0.1689, allocations: 480 kB / 0.7106 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.169, allocations: 75.33 kB / 0.7107 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.169, allocations: 7.938 kB / 0.7107 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.169, allocations: 4 kB / 0.7107 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1692, allocations: 31.84 kB / 0.7108 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1692, allocations: 192 / 0.7108 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.1696, allocations: 63.84 kB / 0.7108 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.1697, allocations: 55.98 kB / 0.7109 GB, free: 8.797 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.0001891/0.1699, allocations: 177.7 kB / 0.711 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.1699, allocations: 27.8 kB / 0.7111 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.17, allocations: 30.19 kB / 0.7111 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.17, allocations: 0 / 0.7111 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.17, allocations: 4 kB / 0.7111 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.17, allocations: 4 kB / 0.7111 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.1708, allocations: 0.4964 MB / 0.7116 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1708, allocations: 0 / 0.7116 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.1708, allocations: 8 kB / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1708, allocations: 0 / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.1709, allocations: 19.97 kB / 0.7116 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1709, allocations: 0 / 0.7116 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1709, allocations: 0 / 0.7116 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.1713, allocations: 335 kB / 0.7119 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.1715, allocations: 81.66 kB / 0.712 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.1716, allocations: 15.98 kB / 0.712 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1718, allocations: 15.92 kB / 0.712 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.1718, allocations: 11.98 kB / 0.7121 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.1719, allocations: 35.97 kB / 0.7121 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002059/0.1721, allocations: 207.1 kB / 0.7123 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1721, allocations: 0 / 0.7123 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003063/0.1724, allocations: 51.98 kB / 0.7123 GB, free: 7.238 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.0001423/0.1725, allocations: 109 kB / 0.7124 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.1731, allocations: 378 kB / 0.7128 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1731, allocations: 4 kB / 0.7128 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1733, allocations: 66.41 kB / 0.7129 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.0003469/0.1736, allocations: 27.34 kB / 0.7129 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.1744, allocations: 421.8 kB / 0.7133 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.1745, allocations: 136.5 kB / 0.7134 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1746, allocations: 35.42 kB / 0.7135 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1746, allocations: 0 / 0.7135 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of Templates: time 0.005217/0.1798, allocations: 3.027 MB / 0.7164 GB, free: 2.977 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: 8.010939783416688] Failed to read output from testmodel.py, exit status != 0: 0.1887229261919856 0.202786292 0.037277765000000004 Calling exit ...