Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001797/0.001797, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002228/0.002228, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 9.004 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.7872/0.7872, allocations: 101.3 MB / 361.1 MB, free: 9.586 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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002124/0.002124, allocations: 67.3 kB / 0.5356 GB, free: 5.305 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.1383/0.1404, allocations: 85.88 MB / 0.6195 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002627/0.143, allocations: 1.486 MB / 0.6209 GB, free: 136 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.1439, allocations: 410 kB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.1439, allocations: 4 kB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.144, allocations: 11.86 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.1441, allocations: 24.22 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.1448, allocations: 241.9 kB / 0.6216 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.1451, allocations: 303.6 kB / 0.6219 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.1452, allocations: 4 kB / 0.6219 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.1454, allocations: 203.6 kB / 0.6221 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.1457, allocations: 102.5 kB / 0.6222 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.1457, allocations: 20 kB / 0.6222 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.1458, allocations: 16 kB / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1459, allocations: 83.72 kB / 0.6223 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1461, allocations: 99.56 kB / 0.6224 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.1464, allocations: 286.9 kB / 0.6226 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1464, allocations: 4 kB / 0.6227 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1464, allocations: 4 kB / 0.6227 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1464, allocations: 3.938 kB / 0.6227 GB, free: 14.35 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.001129/0.1475, allocations: 0.6387 MB / 0.6233 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.1476, allocations: 12.03 kB / 0.6233 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.1476, allocations: 32.78 kB / 0.6233 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1479, allocations: 202.7 kB / 0.6235 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.148, allocations: 16.31 kB / 0.6235 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.148, allocations: 27.92 kB / 0.6236 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1483, allocations: 157.4 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1483, allocations: 0 / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1483, allocations: 0 / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1483, allocations: 11.92 kB / 0.6237 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1485, allocations: 51.91 kB / 0.6238 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.1487, allocations: 221.1 kB / 0.624 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.149, allocations: 114.7 kB / 0.6241 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1491, allocations: 52.83 kB / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1492, allocations: 7.875 kB / 0.6242 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.1496, allocations: 222 kB / 0.6244 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.1496, allocations: 0 / 0.6244 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005905/0.1502, allocations: 281.2 kB / 0.6246 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1502, allocations: 63.39 kB / 0.6247 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.1505, allocations: 292.2 kB / 0.625 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.1505, allocations: 37.7 kB / 0.625 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1506, allocations: 93.12 kB / 0.6251 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.1507, allocations: 47.64 kB / 0.6251 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1508, allocations: 109.8 kB / 0.6252 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.151, allocations: 322.8 kB / 0.6256 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1512, allocations: 163.6 kB / 0.6257 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1515, allocations: 209.8 kB / 0.6259 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1519, allocations: 253.1 kB / 0.6261 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1519, allocations: 0 / 0.6261 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007469/0.1526, allocations: 489.8 kB / 0.6266 GB, free: 10 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.1527, allocations: 73.52 kB / 0.6267 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1527, allocations: 4 kB / 0.6267 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1527, allocations: 0 / 0.6267 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1529, allocations: 36.09 kB / 0.6267 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1529, allocations: 0 / 0.6267 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.1534, allocations: 67.84 kB / 0.6268 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.1534, allocations: 55.98 kB / 0.6268 GB, free: 9.758 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 (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.0001835/0.1536, allocations: 169.5 kB / 0.627 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.1537, allocations: 31.78 kB / 0.627 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1537, allocations: 34.19 kB / 0.6271 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1537, allocations: 4 kB / 0.6271 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1537, allocations: 0 / 0.6271 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1537, allocations: 0 / 0.6271 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.1545, allocations: 0.5018 MB / 0.6276 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1545, allocations: 0 / 0.6276 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.1546, allocations: 15.92 kB / 0.6276 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1546, allocations: 0 / 0.6276 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1546, allocations: 11.98 kB / 0.6276 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1546, allocations: 3.938 kB / 0.6276 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1546, allocations: 8 kB / 0.6276 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.155, allocations: 345.1 kB / 0.6279 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.1552, allocations: 85.64 kB / 0.628 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.1553, allocations: 15.98 kB / 0.628 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.1555, allocations: 4 kB / 0.628 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1555, allocations: 19.97 kB / 0.628 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.1556, allocations: 27.98 kB / 0.6281 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001958/0.1558, allocations: 211 kB / 0.6283 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 4 kB / 0.6283 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003012/0.1561, allocations: 44 kB / 0.6283 GB, free: 8.188 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 (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.0001297/0.1562, allocations: 119.8 kB / 0.6284 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.1567, allocations: 378 kB / 0.6288 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1568, allocations: 0 / 0.6288 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1569, allocations: 67.89 kB / 0.6289 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1572, allocations: 38.14 kB / 0.6289 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.1578, allocations: 395.5 kB / 0.6293 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.158, allocations: 129.5 kB / 0.6294 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.1581, allocations: 41.48 kB / 0.6294 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.1582, allocations: 32.48 kB / 0.6295 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1582, allocations: 0 / 0.6295 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.008244/0.1664, allocations: 4.611 MB / 0.634 GB, free: 2.352 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.220673521980643] Failed to read output from testmodel.py, exit status != 0: 0.1738044599769637 0.188250725 0.038935684000000005 Calling exit ...