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.0008475/0.0008473, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007135/0.007135, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.736/1.736, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4554/0.4554, allocations: 55.02 MB / 325.8 MB, free: 0.5078 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.0005815/0.0005816, allocations: 12.47 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4541, allocations: 60.71 MB / 458 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.001828/0.456, allocations: 1.163 MB / 459.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4571, allocations: 431.2 kB / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.4572, allocations: 0 / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.4572, allocations: 7.781 kB / 459.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.4574, allocations: 13.34 kB / 459.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.458, allocations: 223.5 kB / 459.8 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.4583, allocations: 262.1 kB / 460 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.4584, allocations: 6.656 kB / 460 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.4586, allocations: 206.1 kB / 460.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.4588, allocations: 103 kB / 460.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4589, allocations: 10.03 kB / 460.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.459, allocations: 10.75 kB / 460.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.4591, allocations: 58.67 kB / 460.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4592, allocations: 121.5 kB / 460.5 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.4595, allocations: 232.8 kB / 460.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4595, allocations: 2.469 kB / 460.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4595, allocations: 0.6562 kB / 460.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4595, allocations: 0 / 460.8 MB, free: 38.8 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.0009762/0.4605, allocations: 0.5636 MB / 461.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4605, allocations: 8.5 kB / 461.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.4606, allocations: 24.5 kB / 461.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4608, allocations: 236.4 kB / 461.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.4609, allocations: 14.39 kB / 461.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.4609, allocations: 19.78 kB / 461.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.4612, allocations: 148.2 kB / 461.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4613, allocations: 192 / 461.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.4613, allocations: 7.156 kB / 461.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4613, allocations: 3.906 kB / 461.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4614, allocations: 49.8 kB / 461.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.4617, allocations: 287.5 kB / 462.1 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.462, allocations: 134.9 kB / 462.3 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4621, allocations: 54.25 kB / 462.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.4622, allocations: 7.844 kB / 462.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.4626, allocations: 203.1 kB / 462.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.4626, allocations: 0 / 462.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005513/0.4632, allocations: 263.3 kB / 462.8 MB, free: 37.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4632, allocations: 60.44 kB / 462.8 MB, free: 37.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4634, allocations: 231.6 kB / 463.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.4635, allocations: 36.05 kB / 463.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.4635, allocations: 90.61 kB / 463.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.4636, allocations: 48.77 kB / 463.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.4636, allocations: 32.95 kB / 463.3 MB, free: 37.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.4637, allocations: 323.7 kB / 463.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4639, allocations: 90.84 kB / 463.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4641, allocations: 141.7 kB / 463.8 MB, free: 36.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.4644, allocations: 244 kB / 464 MB, free: 36.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4644, allocations: 0 / 464 MB, free: 36.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005702/0.465, allocations: 401 kB / 464.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.4651, allocations: 72.78 kB / 464.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4651, allocations: 2.656 kB / 464.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4651, allocations: 2.875 kB / 464.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4653, allocations: 34.56 kB / 464.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4653, allocations: 2.109 kB / 464.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.4658, allocations: 75.58 kB / 464.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.4658, allocations: 43.72 kB / 464.7 MB, free: 36.66 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001439/0.466, allocations: 160.6 kB / 464.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.466, allocations: 22.06 kB / 464.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.4661, allocations: 24.73 kB / 464.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4661, allocations: 6.938 kB / 464.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4661, allocations: 0 / 464.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4661, allocations: 0 / 464.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.4668, allocations: 0.5359 MB / 465.4 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4668, allocations: 3.938 kB / 465.4 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.4668, allocations: 20.09 kB / 465.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4668, allocations: 1.125 kB / 465.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.4669, allocations: 8.594 kB / 465.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4669, allocations: 2.781 kB / 465.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4669, allocations: 0 / 465.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.4673, allocations: 313.7 kB / 465.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4674, allocations: 136.6 kB / 465.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.4675, allocations: 10.52 kB / 465.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4677, allocations: 14.94 kB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.4677, allocations: 18.23 kB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.4678, allocations: 24.41 kB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.4679, allocations: 163 kB / 466.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4679, allocations: 0 / 466.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.4682, allocations: 49.41 kB / 466.2 MB, free: 35.88 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 (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.000123/0.4683, allocations: 117.7 kB / 466.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.4689, allocations: 337 kB / 466.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4689, allocations: 0 / 466.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4691, allocations: 75.14 kB / 466.7 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4694, allocations: 26.88 kB / 466.7 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.47, allocations: 373 kB / 467.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4702, allocations: 0.7283 MB / 467.8 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.983e-05/0.4703, allocations: 32.56 kB / 467.8 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.4704, allocations: 34.97 kB / 467.9 MB, free: 34.69 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4704, allocations: 0 / 467.9 MB, free: 34.69 MB / 382.1 MB Notification: Performance of Templates: time 0.006406/0.4768, allocations: 3.623 MB / 471.5 MB, free: 34.43 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: