Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.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.001365/0.001365, allocations: 113.8 kB / 18.84 MB, free: 3.027 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.001443/0.001443, allocations: 195.1 kB / 22.11 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3155/0.3155, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 78.23 kB / 482 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3792, allocations: 62.88 MB / 0.5321 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.002527/0.3817, allocations: 1.45 MB / 0.5335 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.3826, allocations: 419.2 kB / 0.5339 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3827, allocations: 0 / 0.5339 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.3827, allocations: 10.69 kB / 0.534 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3829, allocations: 14.7 kB / 0.534 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.3836, allocations: 246.5 kB / 0.5342 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.384, allocations: 286.3 kB / 0.5345 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.384, allocations: 8.453 kB / 0.5345 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.3843, allocations: 193.4 kB / 0.5347 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3846, allocations: 112 kB / 0.5348 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.3846, allocations: 17.34 kB / 0.5348 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.3847, allocations: 17 kB / 0.5348 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3848, allocations: 57.14 kB / 0.5349 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3849, allocations: 103 kB / 0.535 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.3853, allocations: 232.9 kB / 0.5352 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3853, allocations: 1.031 kB / 0.5352 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3853, allocations: 0 / 0.5352 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3853, allocations: 0 / 0.5352 GB, free: 6.141 MB / 398.1 MB 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.001167/0.3865, allocations: 0.5712 MB / 0.5357 GB, free: 5.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3865, allocations: 10.2 kB / 0.5358 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.3866, allocations: 28.92 kB / 0.5358 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3869, allocations: 180.2 kB / 0.536 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.3869, allocations: 13.67 kB / 0.536 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.387, allocations: 14.94 kB / 0.536 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.3873, allocations: 140.3 kB / 0.5361 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3873, allocations: 192 / 0.5361 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3873, allocations: 10.48 kB / 0.5361 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3873, allocations: 5.188 kB / 0.5361 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3875, allocations: 44.3 kB / 0.5362 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3878, allocations: 272.3 kB / 0.5364 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.3881, allocations: 112.9 kB / 0.5365 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3882, allocations: 46.38 kB / 0.5366 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3882, allocations: 7.188 kB / 0.5366 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.3887, allocations: 202 kB / 0.5368 GB, free: 5.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3887, allocations: 0.8438 kB / 0.5368 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006129/0.3893, allocations: 268.9 kB / 0.537 GB, free: 4.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.3893, allocations: 58.39 kB / 0.5371 GB, free: 4.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3895, allocations: 223.8 kB / 0.5373 GB, free: 4.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3895, allocations: 37.83 kB / 0.5373 GB, free: 4.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.3896, allocations: 95.03 kB / 0.5374 GB, free: 4.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.3896, allocations: 51.44 kB / 0.5375 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3898, allocations: 90.03 kB / 0.5376 GB, free: 4.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.3898, allocations: 321.2 kB / 0.5379 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.3901, allocations: 98.94 kB / 0.538 GB, free: 4.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.3903, allocations: 136.3 kB / 0.5381 GB, free: 4.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.3906, allocations: 236.1 kB / 0.5383 GB, free: 3.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3906, allocations: 0.8438 kB / 0.5383 GB, free: 3.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007249/0.3913, allocations: 410.1 kB / 0.5387 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.3914, allocations: 72.12 kB / 0.5388 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3914, allocations: 1.062 kB / 0.5388 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3914, allocations: 4.828 kB / 0.5388 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3916, allocations: 32.7 kB / 0.5388 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3916, allocations: 3.625 kB / 0.5388 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.3921, allocations: 63.97 kB / 0.5389 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.3922, allocations: 39.52 kB / 0.5389 GB, free: 3.609 MB / 398.1 MB 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.0001582/0.3924, allocations: 158 kB / 0.5391 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3924, allocations: 22.19 kB / 0.5391 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.3925, allocations: 23.61 kB / 0.5391 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3925, allocations: 6.906 kB / 0.5391 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3925, allocations: 7.875 kB / 0.5391 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3925, allocations: 5.406 kB / 0.5391 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.3933, allocations: 0.5155 MB / 0.5396 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3933, allocations: 3.938 kB / 0.5396 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3934, allocations: 8.125 kB / 0.5397 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3934, allocations: 1.312 kB / 0.5397 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.3934, allocations: 14.69 kB / 0.5397 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3934, allocations: 1.75 kB / 0.5397 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3934, allocations: 0 / 0.5397 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3939, allocations: 316.6 kB / 0.54 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3941, allocations: 66.92 kB / 0.54 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.3941, allocations: 9.719 kB / 0.54 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.3943, allocations: 13.95 kB / 0.5401 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.3944, allocations: 16.97 kB / 0.5401 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.3945, allocations: 28.36 kB / 0.5401 GB, free: 2.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3946, allocations: 160 kB / 0.5403 GB, free: 2.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 0 / 0.5403 GB, free: 2.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.395, allocations: 47.64 kB / 0.5403 GB, free: 2.738 MB / 398.1 MB 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.0001271/0.3951, allocations: 111.1 kB / 0.5404 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.3957, allocations: 308.3 kB / 0.5407 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3957, allocations: 0 / 0.5407 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3959, allocations: 70.06 kB / 0.5408 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3963, allocations: 25.77 kB / 0.5408 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.3969, allocations: 316.8 kB / 0.5411 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.397, allocations: 0.7212 MB / 0.5418 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3971, allocations: 34.61 kB / 0.5418 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3972, allocations: 34.56 kB / 0.5419 GB, free: 1.5 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3972, allocations: 1.062 kB / 0.5419 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Templates: time 0.008846/0.4061, allocations: 3.789 MB / 0.5456 GB, free: 1.141 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.616157298907638] Failed to read output from testmodel.py, exit status != 0: 0.4144273651763797 0.43112866000000005 0.042284824000000006 Calling exit ...