Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 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.002069/0.002069, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.628/1.628, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4166/0.4166, allocations: 54.94 MB / 324.7 MB, free: 15.89 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.001906/0.001906, allocations: 67.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 59.59 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.2574/0.4203, allocations: 1.434 MB / 456.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.4211, allocations: 405.7 kB / 456.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.4212, allocations: 0 / 456.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.4213, allocations: 12.11 kB / 456.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.4214, allocations: 18.14 kB / 456.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.4221, allocations: 237.8 kB / 457 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.4224, allocations: 301.1 kB / 457.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.4225, allocations: 6.359 kB / 457.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.4227, allocations: 191.1 kB / 457.5 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.4229, allocations: 92.52 kB / 457.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.4229, allocations: 22.09 kB / 457.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.423, allocations: 18.78 kB / 457.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.4231, allocations: 59.11 kB / 457.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.4232, allocations: 102.1 kB / 457.8 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.4235, allocations: 243.2 kB / 458 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4235, allocations: 0 / 458 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4235, allocations: 0.9375 kB / 458 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4235, allocations: 0.625 kB / 458 MB, free: 38.96 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.001058/0.4246, allocations: 0.6341 MB / 458.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4246, allocations: 7.531 kB / 458.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.4248, allocations: 31.81 kB / 458.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.425, allocations: 236.7 kB / 458.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.425, allocations: 14.86 kB / 458.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.4251, allocations: 16.16 kB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.4254, allocations: 139.6 kB / 459.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4254, allocations: 3.094 kB / 459.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4254, allocations: 16.88 kB / 459.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4254, allocations: 1.219 kB / 459.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4256, allocations: 44.38 kB / 459.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.4259, allocations: 292.1 kB / 459.4 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4261, allocations: 123.6 kB / 459.6 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4263, allocations: 57.91 kB / 459.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.4263, allocations: 3.469 kB / 459.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.4267, allocations: 203.2 kB / 459.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.4268, allocations: 0.6875 kB / 459.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005434/0.4273, allocations: 264.3 kB / 460.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4274, allocations: 62.72 kB / 460.1 MB, free: 37.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4275, allocations: 222.9 kB / 460.4 MB, free: 37.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.4276, allocations: 38.23 kB / 460.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.4276, allocations: 94.39 kB / 460.5 MB, free: 37.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.4277, allocations: 46.08 kB / 460.5 MB, free: 37.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4279, allocations: 95.5 kB / 460.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.4279, allocations: 324.2 kB / 460.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4281, allocations: 94.77 kB / 461 MB, free: 37.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.4283, allocations: 140.8 kB / 461.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4286, allocations: 241.9 kB / 461.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4286, allocations: 1.406 kB / 461.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005651/0.4292, allocations: 397 kB / 461.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.4292, allocations: 73.56 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4293, allocations: 3.938 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4293, allocations: 1.281 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4295, allocations: 30.7 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4295, allocations: 6.031 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.4299, allocations: 73.81 kB / 462 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.43, allocations: 39.23 kB / 462 MB, free: 36.84 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.0001294/0.4302, allocations: 158.8 kB / 462.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.4302, allocations: 29.92 kB / 462.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.4302, allocations: 23.41 kB / 462.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4302, allocations: 6.75 kB / 462.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4303, allocations: 0 / 462.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4303, allocations: 0 / 462.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.4309, allocations: 0.5321 MB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4309, allocations: 10.38 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.4309, allocations: 5.719 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.431, allocations: 0 / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.431, allocations: 12.09 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.431, allocations: 6.156 kB / 462.8 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.431, allocations: 3.906 kB / 462.8 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.4313, allocations: 307.9 kB / 463.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4314, allocations: 152.5 kB / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4315, allocations: 6.906 kB / 463.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4317, allocations: 9.062 kB / 463.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.4318, allocations: 20.41 kB / 463.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.4318, allocations: 19.98 kB / 463.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.4319, allocations: 172.5 kB / 463.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4319, allocations: 0.8438 kB / 463.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.4322, allocations: 40.56 kB / 463.5 MB, free: 35.95 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.0001017/0.4323, allocations: 120.9 kB / 463.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.4328, allocations: 347.8 kB / 464 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4328, allocations: 0 / 464 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.433, allocations: 66.86 kB / 464 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4333, allocations: 28.34 kB / 464.1 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.4338, allocations: 324.8 kB / 464.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.434, allocations: 0.7247 MB / 465.1 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.4342, allocations: 30.58 kB / 465.1 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.4343, allocations: 29.62 kB / 465.2 MB, free: 34.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4343, allocations: 2.875 kB / 465.2 MB, free: 34.72 MB / 382.1 MB Notification: Performance of Templates: time 0.006343/0.4406, allocations: 3.715 MB / 468.9 MB, free: 34.44 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)