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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4114/0.4114, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.1 MB 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.002367/0.002367, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.167, allocations: 59.6 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.2684/0.4354, allocations: 1.435 MB / 456.4 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.4364, allocations: 414 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.4365, allocations: 0 / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.437e-05/0.4366, allocations: 9.953 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.4367, allocations: 13.22 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.4375, allocations: 237.1 kB / 457 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.438, allocations: 306.9 kB / 457.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.4381, allocations: 3.578 kB / 457.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.4384, allocations: 188.2 kB / 457.5 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.4386, allocations: 102.7 kB / 457.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.902e-05/0.4387, allocations: 17.44 kB / 457.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.4388, allocations: 17.34 kB / 457.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.4389, allocations: 60.23 kB / 457.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.439, allocations: 98.28 kB / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.4393, allocations: 234.7 kB / 458 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4393, allocations: 3.938 kB / 458 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4393, allocations: 1 kB / 458 MB, free: 38.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4394, allocations: 0 / 458 MB, free: 38.84 MB / 382.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.001162/0.4405, allocations: 0.6361 MB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4406, allocations: 7.188 kB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.4407, allocations: 29.44 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.441, allocations: 239.8 kB / 458.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.441, allocations: 15.97 kB / 459 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.4411, allocations: 17.19 kB / 459 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.4414, allocations: 142 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4414, allocations: 2.703 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4414, allocations: 3.938 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4414, allocations: 6.906 kB / 459.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4416, allocations: 44.94 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.4419, allocations: 292.8 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.4422, allocations: 127.9 kB / 459.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4423, allocations: 55.69 kB / 459.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4423, allocations: 7.016 kB / 459.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.4428, allocations: 207.2 kB / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.4428, allocations: 0 / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005409/0.4433, allocations: 259.9 kB / 460.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4434, allocations: 62.44 kB / 460.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.4436, allocations: 221.2 kB / 460.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.4436, allocations: 42.09 kB / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.4437, allocations: 92.61 kB / 460.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.4437, allocations: 43.12 kB / 460.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4439, allocations: 99.02 kB / 460.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.444, allocations: 323.5 kB / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4442, allocations: 93.33 kB / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4444, allocations: 139.8 kB / 461.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.4447, allocations: 245.2 kB / 461.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4447, allocations: 1.531 kB / 461.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006075/0.4453, allocations: 395.6 kB / 461.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.4454, allocations: 78 kB / 461.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4454, allocations: 3.047 kB / 461.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4454, allocations: 3 kB / 461.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.4456, allocations: 29.77 kB / 461.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4456, allocations: 3.875 kB / 461.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.4461, allocations: 65.31 kB / 462 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.4462, allocations: 41.41 kB / 462 MB, free: 36.71 MB / 382.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.0001668/0.4464, allocations: 162.1 kB / 462.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.4465, allocations: 24.45 kB / 462.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.4465, allocations: 20.84 kB / 462.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4465, allocations: 3.938 kB / 462.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4465, allocations: 5.656 kB / 462.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4466, allocations: 0 / 462.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.4473, allocations: 0.5327 MB / 462.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4473, allocations: 4.688 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.4473, allocations: 8.656 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4473, allocations: 0 / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.4474, allocations: 19.81 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4474, allocations: 0 / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4474, allocations: 6.719 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.4478, allocations: 307.8 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4479, allocations: 149.2 kB / 463.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.448, allocations: 9.844 kB / 463.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4482, allocations: 12.25 kB / 463.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4483, allocations: 16.38 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.4483, allocations: 26.56 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4484, allocations: 162.6 kB / 463.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4484, allocations: 0.6562 kB / 463.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000325/0.4487, allocations: 50.16 kB / 463.5 MB, free: 35.85 MB / 382.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.0001104/0.4489, allocations: 113.8 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.4494, allocations: 345.7 kB / 464 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4494, allocations: 2.75 kB / 464 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.4495, allocations: 71.36 kB / 464.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.4499, allocations: 26.06 kB / 464.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.4504, allocations: 325.9 kB / 464.4 MB, free: 35.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.4506, allocations: 0.7254 MB / 465.1 MB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.4507, allocations: 32.61 kB / 465.2 MB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.4508, allocations: 36.03 kB / 465.2 MB, free: 34.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4508, allocations: 0 / 465.2 MB, free: 34.61 MB / 382.1 MB Notification: Performance of Templates: time 0.00747/0.4583, allocations: 3.707 MB / 468.9 MB, free: 34.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)