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.001301/0.001301, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.00136/0.00136, allocations: 159.9 kB / 23.01 MB, free: 4.941 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.8104/0.8104, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002384/0.002384, allocations: 66.86 kB / 0.5356 GB, free: 5.25 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1564, allocations: 85.88 MB / 0.6195 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003032/0.1594, allocations: 1.481 MB / 0.6209 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1604, allocations: 426 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1605, allocations: 0 / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.13e-05/0.1606, allocations: 11.86 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1607, allocations: 20.23 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.1615, allocations: 242.9 kB / 0.6216 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.1619, allocations: 311.5 kB / 0.6219 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.1619, allocations: 4 kB / 0.6219 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1623, allocations: 195.8 kB / 0.6221 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1626, allocations: 111.3 kB / 0.6222 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.1627, allocations: 20 kB / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.1627, allocations: 16 kB / 0.6222 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1629, allocations: 71.78 kB / 0.6223 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.163, allocations: 107.5 kB / 0.6224 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1634, allocations: 290.8 kB / 0.6227 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1634, allocations: 0 / 0.6227 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1634, allocations: 4 kB / 0.6227 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1634, allocations: 0 / 0.6227 GB, free: 14.34 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.001303/0.1647, allocations: 0.6388 MB / 0.6233 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1647, allocations: 8.031 kB / 0.6233 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1648, allocations: 32.8 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1652, allocations: 210.6 kB / 0.6235 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.1652, allocations: 8.375 kB / 0.6235 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.1653, allocations: 27.92 kB / 0.6236 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.1656, allocations: 153.5 kB / 0.6237 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1656, allocations: 3.984 kB / 0.6237 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1656, allocations: 3.938 kB / 0.6237 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1657, allocations: 4 kB / 0.6237 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1658, allocations: 47.97 kB / 0.6238 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1661, allocations: 221.1 kB / 0.624 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1664, allocations: 118.7 kB / 0.6241 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1665, allocations: 56.7 kB / 0.6241 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1666, allocations: 7.938 kB / 0.6241 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.167, allocations: 219.7 kB / 0.6244 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.167, allocations: 0 / 0.6244 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006246/0.1677, allocations: 281.2 kB / 0.6246 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1677, allocations: 63.39 kB / 0.6247 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.168, allocations: 288.2 kB / 0.625 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.1681, allocations: 45.7 kB / 0.625 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1682, allocations: 85.14 kB / 0.6251 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1682, allocations: 51.64 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.1684, allocations: 105.8 kB / 0.6252 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1685, allocations: 322.8 kB / 0.6255 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1688, allocations: 163.6 kB / 0.6257 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.1691, allocations: 209.8 kB / 0.6259 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.1695, allocations: 246.9 kB / 0.6261 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1695, allocations: 4 kB / 0.6261 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008078/0.1703, allocations: 484.1 kB / 0.6266 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.1704, allocations: 85.5 kB / 0.6267 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1704, allocations: 0 / 0.6267 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1704, allocations: 4 kB / 0.6267 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1706, allocations: 28.05 kB / 0.6267 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1706, allocations: 11.98 kB / 0.6267 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.1711, allocations: 67.84 kB / 0.6268 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.1712, allocations: 55.98 kB / 0.6268 GB, free: 9.738 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.0001968/0.1714, allocations: 165.8 kB / 0.627 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1715, allocations: 27.8 kB / 0.627 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.1715, allocations: 34.19 kB / 0.6271 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1715, allocations: 4 kB / 0.6271 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1715, allocations: 7.984 kB / 0.6271 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1715, allocations: 0 / 0.6271 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.1724, allocations: 0.4979 MB / 0.6276 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1724, allocations: 0 / 0.6276 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.1725, allocations: 7.984 kB / 0.6276 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1725, allocations: 4 kB / 0.6276 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.1725, allocations: 11.98 kB / 0.6276 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1725, allocations: 0 / 0.6276 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1725, allocations: 4 kB / 0.6276 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.173, allocations: 341.2 kB / 0.6279 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1732, allocations: 89.66 kB / 0.628 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.1732, allocations: 11.94 kB / 0.628 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1735, allocations: 19.92 kB / 0.628 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.1735, allocations: 15.97 kB / 0.628 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.1736, allocations: 27.98 kB / 0.6281 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002138/0.1738, allocations: 215 kB / 0.6283 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1738, allocations: 0 / 0.6283 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003368/0.1741, allocations: 48 kB / 0.6283 GB, free: 8.168 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.0001439/0.1743, allocations: 117.2 kB / 0.6284 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006211/0.1749, allocations: 382 kB / 0.6288 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1749, allocations: 0 / 0.6288 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.175, allocations: 71.89 kB / 0.6289 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1754, allocations: 27.72 kB / 0.6289 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.1761, allocations: 397.7 kB / 0.6293 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.1762, allocations: 133.5 kB / 0.6294 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.1764, allocations: 37.48 kB / 0.6294 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1765, allocations: 40.48 kB / 0.6295 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1765, allocations: 0 / 0.6295 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.00922/0.1857, allocations: 4.651 MB / 0.634 GB, free: 2.297 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259395255008712] Failed to read output from testmodel.py, exit status != 0: 0.19387056701816618 0.20898735099999996 0.042464702 Calling exit ...