Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4216/0.4216, allocations: 54.98 MB / 325.4 MB, free: 0.7227 MB / 254.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.0005996/0.0005998, allocations: 23.98 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3312, allocations: 60.72 MB / 457.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.001402/0.3327, allocations: 1.143 MB / 458.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.3334, allocations: 376.4 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.3335, allocations: 0 / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.3335, allocations: 9.578 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3336, allocations: 14.8 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.3343, allocations: 207.6 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3344, allocations: 148.2 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.3345, allocations: 9.953 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.3347, allocations: 150.3 kB / 459.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3349, allocations: 115.2 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.335, allocations: 11.34 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-05/0.335, allocations: 7.938 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.3351, allocations: 55.58 kB / 459.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.3352, allocations: 57.98 kB / 459.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3353, allocations: 164 kB / 459.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3354, allocations: 3.938 kB / 459.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3354, allocations: 3.406 kB / 459.8 MB, free: 37.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3354, allocations: 0 / 459.8 MB, free: 37.92 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.0008897/0.3363, allocations: 0.5659 MB / 460.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3363, allocations: 8.781 kB / 460.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.3364, allocations: 22.19 kB / 460.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3367, allocations: 238.8 kB / 460.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3367, allocations: 11.64 kB / 460.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.123e-05/0.3368, allocations: 27.14 kB / 460.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3371, allocations: 135.4 kB / 460.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3371, allocations: 0.5312 kB / 460.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3371, allocations: 4.703 kB / 460.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3371, allocations: 3.234 kB / 460.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3372, allocations: 42.64 kB / 460.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.3375, allocations: 296 kB / 461.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.3378, allocations: 124.4 kB / 461.2 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3378, allocations: 4.781 kB / 461.2 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.3382, allocations: 211.5 kB / 461.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.3382, allocations: 0 / 461.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004743/0.3387, allocations: 254.7 kB / 461.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3387, allocations: 60.66 kB / 461.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3389, allocations: 232 kB / 462 MB, free: 36.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.3389, allocations: 38.78 kB / 462 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.339, allocations: 90.3 kB / 462.1 MB, free: 36.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.339, allocations: 51.7 kB / 462.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.3391, allocations: 9.062 kB / 462.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.3391, allocations: 324.9 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3393, allocations: 88.41 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3395, allocations: 140.6 kB / 462.7 MB, free: 36.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3397, allocations: 150.6 kB / 462.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3397, allocations: 2.969 kB / 462.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005489/0.3402, allocations: 396 kB / 463.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.3403, allocations: 74.31 kB / 463.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3403, allocations: 0 / 463.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3403, allocations: 2.812 kB / 463.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3405, allocations: 31.41 kB / 463.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3405, allocations: 3.375 kB / 463.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.341, allocations: 77.25 kB / 463.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.3411, allocations: 45.73 kB / 463.4 MB, free: 35.88 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.3413, allocations: 165.1 kB / 463.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3413, allocations: 17.47 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3414, allocations: 24.17 kB / 463.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3414, allocations: 1 kB / 463.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3414, allocations: 0.7031 kB / 463.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3414, allocations: 6.719 kB / 463.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.3421, allocations: 0.5404 MB / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3421, allocations: 0 / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.3421, allocations: 11.31 kB / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3421, allocations: 0 / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3422, allocations: 11.69 kB / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3422, allocations: 0 / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3422, allocations: 12.64 kB / 464.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.3425, allocations: 308.8 kB / 464.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3427, allocations: 139.2 kB / 464.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3427, allocations: 13.73 kB / 464.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3429, allocations: 11.44 kB / 464.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.343, allocations: 16.28 kB / 464.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.343, allocations: 29.12 kB / 464.7 MB, free: 35.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3432, allocations: 165.2 kB / 464.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3432, allocations: 0 / 464.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.3435, allocations: 43.25 kB / 464.9 MB, free: 35.09 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.3436, allocations: 115.9 kB / 465.1 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.3441, allocations: 327.9 kB / 465.4 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3441, allocations: 2.938 kB / 465.4 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3442, allocations: 75.34 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3445, allocations: 24.83 kB / 465.5 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.345, allocations: 359.2 kB / 465.8 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3451, allocations: 0.7275 MB / 466.6 MB, free: 33.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.815e-05/0.3452, allocations: 34.09 kB / 466.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3453, allocations: 31.2 kB / 466.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3453, allocations: 0 / 466.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of Templates: time 0.005866/0.3512, allocations: 3.546 MB / 470.2 MB, free: 33.67 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: