Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001251/0.001251, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001469/0.001469, allocations: 191.8 kB / 22.11 MB, free: 5.148 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.634/1.634, 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.2963/0.2963, 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002248/0.002248, allocations: 86.05 kB / 482 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4333, allocations: 62.86 MB / 0.5321 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00288/0.4362, allocations: 1.463 MB / 0.5336 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.4372, allocations: 420 kB / 0.534 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.4372, allocations: 0 / 0.534 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.4373, allocations: 6.562 kB / 0.534 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.4375, allocations: 19.48 kB / 0.534 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.4383, allocations: 245.4 kB / 0.5342 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.4387, allocations: 294.4 kB / 0.5345 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.4388, allocations: 4.844 kB / 0.5345 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.4392, allocations: 189.6 kB / 0.5347 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.4395, allocations: 110.9 kB / 0.5348 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.4396, allocations: 17.28 kB / 0.5348 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.4397, allocations: 17.59 kB / 0.5348 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4398, allocations: 62.09 kB / 0.5349 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.4399, allocations: 94.38 kB / 0.535 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.4403, allocations: 240.9 kB / 0.5352 GB, free: 6.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4403, allocations: 0.5156 kB / 0.5352 GB, free: 6.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4403, allocations: 0 / 0.5352 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4404, allocations: 0 / 0.5352 GB, free: 6.121 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.001277/0.4416, allocations: 0.5726 MB / 0.5358 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4417, allocations: 9.156 kB / 0.5358 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.4418, allocations: 29.03 kB / 0.5358 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4421, allocations: 175.9 kB / 0.536 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.4421, allocations: 14.34 kB / 0.536 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.4422, allocations: 19.62 kB / 0.536 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4426, allocations: 139.5 kB / 0.5361 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4426, allocations: 192 / 0.5361 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.4426, allocations: 9.797 kB / 0.5361 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4426, allocations: 1.312 kB / 0.5361 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4428, allocations: 48.64 kB / 0.5362 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.4431, allocations: 264.5 kB / 0.5364 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.4434, allocations: 112.4 kB / 0.5365 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.4436, allocations: 46.59 kB / 0.5366 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.4436, allocations: 6.844 kB / 0.5366 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.4441, allocations: 207.6 kB / 0.5368 GB, free: 5.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.4441, allocations: 0 / 0.5368 GB, free: 5.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006558/0.4447, allocations: 268.4 kB / 0.537 GB, free: 4.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4448, allocations: 58.16 kB / 0.5371 GB, free: 4.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.445, allocations: 229 kB / 0.5373 GB, free: 4.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.445, allocations: 36.28 kB / 0.5374 GB, free: 4.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.4451, allocations: 95.94 kB / 0.5374 GB, free: 4.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.4452, allocations: 42.55 kB / 0.5375 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.4454, allocations: 99.77 kB / 0.5376 GB, free: 4.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.4454, allocations: 320.4 kB / 0.5379 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.4457, allocations: 94.05 kB / 0.538 GB, free: 4.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4459, allocations: 137.3 kB / 0.5381 GB, free: 4.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.4462, allocations: 240.2 kB / 0.5383 GB, free: 3.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4463, allocations: 0.6562 kB / 0.5383 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007594/0.447, allocations: 405.6 kB / 0.5387 GB, free: 3.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.4471, allocations: 77 kB / 0.5388 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4471, allocations: 1.219 kB / 0.5388 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4471, allocations: 3.531 kB / 0.5388 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4473, allocations: 29.89 kB / 0.5388 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4474, allocations: 4.344 kB / 0.5388 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.4479, allocations: 66.91 kB / 0.5389 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.448, allocations: 43.39 kB / 0.5389 GB, free: 3.586 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.0001661/0.4481, allocations: 155.4 kB / 0.5391 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.4482, allocations: 21.78 kB / 0.5391 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.4482, allocations: 22.92 kB / 0.5391 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.4482, allocations: 6.969 kB / 0.5391 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4482, allocations: 0 / 0.5391 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4482, allocations: 0.8438 kB / 0.5391 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.4491, allocations: 0.5187 MB / 0.5396 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4491, allocations: 5.188 kB / 0.5397 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.4492, allocations: 11.61 kB / 0.5397 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4492, allocations: 1.156 kB / 0.5397 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.4492, allocations: 14.05 kB / 0.5397 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4492, allocations: 1.672 kB / 0.5397 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4492, allocations: 1.25 kB / 0.5397 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.4497, allocations: 315.9 kB / 0.54 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.4498, allocations: 63 kB / 0.54 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.4499, allocations: 9.922 kB / 0.5401 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.4502, allocations: 14.25 kB / 0.5401 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.4502, allocations: 12.83 kB / 0.5401 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.4503, allocations: 27.83 kB / 0.5401 GB, free: 2.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4505, allocations: 160.1 kB / 0.5403 GB, free: 2.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4505, allocations: 0.7188 kB / 0.5403 GB, free: 2.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.4508, allocations: 42.98 kB / 0.5403 GB, free: 2.734 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.0001414/0.451, allocations: 123.1 kB / 0.5404 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.4516, allocations: 309.2 kB / 0.5407 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4516, allocations: 3.938 kB / 0.5407 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.4518, allocations: 65.64 kB / 0.5408 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.4521, allocations: 25.86 kB / 0.5408 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.4528, allocations: 313.5 kB / 0.5411 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.453, allocations: 0.7289 MB / 0.5418 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.4532, allocations: 31.23 kB / 0.5418 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.4533, allocations: 35.06 kB / 0.5419 GB, free: 1.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.133e-06/0.4533, allocations: 0 / 0.5419 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Templates: time 0.01555/0.4688, allocations: 3.785 MB / 0.5456 GB, free: 1.129 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.604939549230039] Failed to read output from testmodel.py, exit status != 0: 0.47876179683953524 0.496832029 0.052945415 Calling exit ...